1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-22 16:23:48 +00:00

add availability info about maven

This commit is contained in:
InsanusMokrassar 2020-01-06 22:47:43 +06:00
parent 034b30d65f
commit 82129205fa

View File

@ -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: