mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-22 08:13:47 +00:00
add availability info about maven
This commit is contained in:
parent
034b30d65f
commit
82129205fa
19
README.md
19
README.md
@ -34,19 +34,6 @@ of signed artifacts in Bintray). You can:
|
||||
|
||||
### Maven
|
||||
|
||||
To use last versions you will need to add several lines in repositories block of your pom.xml:
|
||||
|
||||
```xml
|
||||
<repository>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
<id>central</id>
|
||||
<name>bintray</name>
|
||||
<url>http://jcenter.bintray.com</url>
|
||||
</repository>
|
||||
```
|
||||
|
||||
Dependency config presented here:
|
||||
|
||||
```xml
|
||||
@ -59,11 +46,9 @@ Dependency config presented here:
|
||||
|
||||
### Gradle
|
||||
|
||||
To use last versions you will need to add one line in repositories block of your build.gradle:
|
||||
To use last versions you will need to add one line in repositories block of your `build.gradle`:
|
||||
|
||||
```groovy
|
||||
jcenter()
|
||||
```
|
||||
`jcenter()` or `mavenCentral()`
|
||||
|
||||
And add next line to your dependencies block:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user