mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-26 03:58:44 +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
|
### 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:
|
Dependency config presented here:
|
||||||
|
|
||||||
```xml
|
```xml
|
||||||
@ -59,11 +46,9 @@ Dependency config presented here:
|
|||||||
|
|
||||||
### Gradle
|
### 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()` or `mavenCentral()`
|
||||||
jcenter()
|
|
||||||
```
|
|
||||||
|
|
||||||
And add next line to your dependencies block:
|
And add next line to your dependencies block:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user