File tree Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ RUN GRADLE_OPTS="-Xmx256m" gradle shadowJar --build-cache --stacktrace --no-daem
1313
1414FROM openjdk:11
1515WORKDIR /app
16- COPY --from=builder /usr/src/java-code/build/libs/SimilarImagesBot-1.0.2 -all.jar .
16+ COPY --from=builder /usr/src/java-code/build/libs/SimilarImagesBot-1.0.3 -all.jar .
1717ENV BOT_TOKEN '' \
1818 ADMIN_ID 0 \
1919 MODE 'once'
20- ENTRYPOINT ["java" , "-jar" , "/app/SimilarImagesBot-1.0.2 -all.jar" ]
20+ ENTRYPOINT ["java" , "-jar" , "/app/SimilarImagesBot-1.0.3 -all.jar" ]
Original file line number Diff line number Diff line change @@ -8,22 +8,23 @@ sourceCompatibility = 11
88targetCompatibility = 11
99mainClassName = ' com.annimon.similarimagesbot.Main'
1010group ' com.annimon'
11- version ' 1.0.2 '
11+ version ' 1.0.3 '
1212
1313repositories {
1414 jcenter()
15+ mavenCentral()
1516}
1617
1718dependencies {
18- implementation ' com.github.pengrad:java-telegram-bot-api:4.9 .0'
19+ implementation ' com.github.pengrad:java-telegram-bot-api:5.5 .0'
1920 implementation ' com.github.kilianB:JImageHash:3.0.0'
2021 implementation ' com.h2database:h2:1.4.200'
2122
22- implementation ' org.apache.logging.log4j:log4j-core:2.13.3 '
23- implementation ' com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.11.3 '
24- implementation " com.fasterxml.jackson.module:jackson-module-kotlin:2.11.3 "
23+ implementation ' org.apache.logging.log4j:log4j-core:2.17.1 '
24+ implementation ' com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.13.1 '
25+ implementation ' com.fasterxml.jackson.module:jackson-module-kotlin:2.13.1 '
2526
26- testCompile ' junit:junit:4.12 '
27+ testCompile ' junit:junit:4.13.2 '
2728}
2829
2930shadowJar {
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3- distributionUrl =https\://services.gradle.org/distributions/gradle-6.5 -bin.zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-6.7.1 -bin.zip
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
You can’t perform that action at this time.
0 commit comments