Change "compile" to "implementation" (Gradle dependency)

This commit is contained in:
ekiauhce 2021-01-30 10:24:00 +03:00
parent e09c13cf0e
commit 37171fa94a
4 changed files with 8 additions and 6 deletions

View File

@ -31,12 +31,14 @@ Just import add the library to your project with one of these options:
</dependency>
```
2. Using Gradle:
```gradle
compile "org.telegram:telegrambots:5.0.1"
implementation 'org.telegram:telegrambots:5.0.1'
```
2. Using Jitpack from [here](https://jitpack.io/#rubenlagus/TelegramBots/5.0.1)
3. Download the jar(including all dependencies) from [here](https://mvnrepository.com/artifact/org.telegram/telegrambots/5.0.1)
3. Using Jitpack from [here](https://jitpack.io/#rubenlagus/TelegramBots/5.0.1)
4. Download the jar(including all dependencies) from [here](https://mvnrepository.com/artifact/org.telegram/telegrambots/5.0.1)
In order to use Long Polling mode, just create your own bot extending `org.telegram.telegrambots.bots.TelegramLongPollingBot`.

View File

@ -25,7 +25,7 @@ Usage
**Gradle**
```gradle
compile "org.telegram:telegrambots-abilities:5.0.1"
implementation 'org.telegram:telegrambots-abilities:5.0.1'
```
**JitPack** - [JitPack](https://jitpack.io/#rubenlagus/TelegramBots/v5.0.1)

View File

@ -23,5 +23,5 @@ Just import add the library to your project with one of these options:
2. Using Gradle:
```gradle
compile "org.telegram:telegrambotsextensions:5.0.1"
implementation 'org.telegram:telegrambotsextensions:5.0.1'
```

View File

@ -25,7 +25,7 @@ Usage
**Gradle**
```gradle
compile "org.telegram:telegrambots-spring-boot-starter:5.0.1"
implementation 'org.telegram:telegrambots-spring-boot-starter:5.0.1'
```
Motivation