Fix gradle string in ability example

The current version is 4.7.
Also the compile configuration is deprecated and
was replaced by implementation.

See:
https://docs.gradle.org/current/userguide/java_plugin.html#tab:configurations
This commit is contained in:
Chase22 2020-04-10 11:08:26 +02:00
parent 14633b4040
commit 43082ebeea

View File

@ -14,7 +14,7 @@ As with any Java project, you will need to set your dependencies.
``` ```
* **Gradle** * **Gradle**
```groovy ```groovy
compile group: 'org.telegram', name: 'telegrambots-abilities', version: 'permissions' implementation group: 'org.telegram', name: 'telegrambots-abilities', version: '4.7'
``` ```
* [JitPack](https://jitpack.io/#rubenlagus/TelegramBots) * [JitPack](https://jitpack.io/#rubenlagus/TelegramBots)