From a9909e0faca387dd0bf54bce2341a1769513e59e Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sun, 25 Nov 2018 10:56:37 +0300 Subject: using patched telegram bot library --- .gitmodules | 3 +++ build.gradle | 2 +- java-telegram-bot-api | 1 + settings.gradle | 1 + 4 files changed, 6 insertions(+), 1 deletion(-) create mode 160000 java-telegram-bot-api diff --git a/.gitmodules b/.gitmodules index 1933cb69..7e916a8b 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "juick-server/src/main/resources/help"] path = src/main/resources/help url = git@github.com:juick/help.git +[submodule "java-telegram-bot-api"] + path = java-telegram-bot-api + url = git@x.juick.com:/srv/git/java-telegram-bot-api.git diff --git a/build.gradle b/build.gradle index c1f20e15..694392ae 100644 --- a/build.gradle +++ b/build.gradle @@ -138,7 +138,7 @@ dependencies { compile 'org.apache.commons:commons-email:1.5' compile 'com.github.scribejava:scribejava-apis:6.1.0' - compile 'com.github.pengrad:java-telegram-bot-api:4.1.0' + compile project(':java-telegram-bot-api:library') compile 'com.twelvemonkeys.imageio:imageio-jpeg:3.4.1' compile 'org.imgscalr:imgscalr-lib:4.2' compile 'org.twitter4j:twitter4j-core:4.0.7' diff --git a/java-telegram-bot-api b/java-telegram-bot-api new file mode 160000 index 00000000..672eabf1 --- /dev/null +++ b/java-telegram-bot-api @@ -0,0 +1 @@ +Subproject commit 672eabf1d52ce73ac9242b545c9893e64ba82df2 diff --git a/settings.gradle b/settings.gradle index f1953cd6..32e94b8e 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,2 +1,3 @@ rootProject.name = "Juick" +include ':java-telegram-bot-api:library' -- cgit v1.2.3