Skip to content

Commit

Permalink
Telegram Bot API 6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadiducho committed Nov 10, 2022
1 parent c23ead3 commit d42b1c9
Show file tree
Hide file tree
Showing 18 changed files with 858 additions and 85 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ If you want use Telegram Bot API as a Maven Dependency simply add repo and artif
<dependency>
<groupId>com.cadiducho</groupId>
<artifactId>TelegramBotAPI</artifactId>
<version>6.2</version>
<version>6.3</version>
</dependency>
```

Expand All @@ -59,7 +59,7 @@ You can always check lastest version in [my maven repository](https://repo.cadid

This project is released under the [MIT-License](https://github.com/Cadiducho/Telegram-Bot-API/blob/master/LICENSE).

> This project starts as a Bukkit-Minecraft API and now it is a standalone library. Check the original [Minegram](https://github.com/Cadiducho/Minegram)!
> This project starts as a Bukkit-Minecraft API, and now it is a standalone library. Check the original [Minegram](https://github.com/Cadiducho/Minegram)!
> Cadiducho's TelegramBotAPI is highly inspired on [Irazasyed's Telegram Bot API - PHP SDK](https://github.com/irazasyed/telegram-bot-sdk)
> and [Rainu's telegram-bot-api](https://github.com/rainu/telegram-bot-api), but this one is written from scratch.
Expand Down
16 changes: 8 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
plugins {
id 'java'
id 'maven-publish'
id "io.freefair.lombok" version "6.5.0.3"
id "io.freefair.lombok" version "6.5.1"
}

group = 'com.cadiducho'
version = '6.2.1'
version = '6.3'
sourceCompatibility = '1.8'

java {
Expand Down Expand Up @@ -49,21 +49,21 @@ repositories {
mavenCentral()
mavenLocal()
maven {
url "https://cadiducho.com/repo/"
url "https://repo.cadiducho.com/releases"
}
}

dependencies {
implementation group: 'com.squareup.moshi', name: 'moshi', version: '1.13.0'
implementation group: 'com.squareup.moshi', name: 'moshi-adapters', version: '1.13.0'
implementation group: 'com.squareup.moshi', name: 'moshi', version: '1.14.0'
implementation group: 'com.squareup.moshi', name: 'moshi-adapters', version: '1.14.0'
implementation group: 'com.squareup.okio', name: 'okio', version: '3.2.0'
implementation group: 'com.squareup.okhttp3', name: 'okhttp', version: '4.10.0'

//Tests
testImplementation group: 'com.squareup.okhttp3', name: 'mockwebserver', version: '4.10.0'
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.9.0'
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-params', version: '5.9.0'
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.9.0'
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.9.1'
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-params', version: '5.9.1'
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.9.1'
}

test {
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
6 changes: 6 additions & 0 deletions gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,12 @@ set -- \
org.gradle.wrapper.GradleWrapperMain \
"$@"

# Stop when "xargs" is not available.
if ! command -v xargs >/dev/null 2>&1
then
die "xargs is not available"
fi

# Use "xargs" to parse quoted args.
#
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.
Expand Down
14 changes: 8 additions & 6 deletions gradlew.bat
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
@rem limitations under the License.
@rem

@if "%DEBUG%" == "" @echo off
@if "%DEBUG%"=="" @echo off
@rem ##########################################################################
@rem
@rem Gradle startup script for Windows
Expand All @@ -25,7 +25,7 @@
if "%OS%"=="Windows_NT" setlocal

set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.
if "%DIRNAME%"=="" set DIRNAME=.
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%

Expand All @@ -40,7 +40,7 @@ if defined JAVA_HOME goto findJavaFromJavaHome

set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if "%ERRORLEVEL%" == "0" goto execute
if %ERRORLEVEL% equ 0 goto execute

echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Expand Down Expand Up @@ -75,13 +75,15 @@ set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar

:end
@rem End local scope for the variables with windows NT shell
if "%ERRORLEVEL%"=="0" goto mainEnd
if %ERRORLEVEL% equ 0 goto mainEnd

:fail
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
rem the _cmd.exe /c_ return code!
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
exit /b 1
set EXIT_CODE=%ERRORLEVEL%
if %EXIT_CODE% equ 0 set EXIT_CODE=1
if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
exit /b %EXIT_CODE%

:mainEnd
if "%OS%"=="Windows_NT" endlocal
Expand Down
Loading

0 comments on commit d42b1c9

Please sign in to comment.