Merge pull request #862 from ekiauhce/dev

Fix Gradle 7.0 compatibility
This commit is contained in:
Ruben Bermudez 2021-02-14 21:53:41 +00:00 committed by GitHub
commit 93043c4c98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 18 additions and 10 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

@ -16,8 +16,8 @@ First you need ot get the library and add it to your project. There are few poss
```
* With **Gradle**:
```groovy
compile group: 'org.telegram', name: 'telegrambots', version: '5.0.1'
```gradle
implementation 'org.telegram:telegrambots:5.0.1'
```
2. Don't like **Maven Central Repository**? It can also be taken from [Jitpack](https://jitpack.io/#rubenlagus/TelegramBots).

View File

@ -13,8 +13,8 @@ As with any Java project, you will need to set your dependencies.
</dependency>
```
* **Gradle**
```groovy
implementation group: 'org.telegram', name: 'telegrambots-abilities', version: '5.0.1'
```gradle
implementation 'org.telegram:telegrambots-abilities:5.0.1'
```
* [JitPack](https://jitpack.io/#rubenlagus/TelegramBots)

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

@ -19,6 +19,12 @@ Usage
</dependency>
```
**Gradle**
```gradle
implementation 'org.telegram:telegrambots-chat-session-bot:5.0.1'
```
Motivation
----------
Implementation of bot dialogs require saving some data about current state of conversation.

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