Similar-Images-Bot/build.gradle

36 lines
929 B
Groovy
Raw Permalink Normal View History

2020-09-27 13:08:23 +03:00
plugins {
id "com.github.johnrengelman.shadow" version "8.1.1"
2020-09-27 13:08:23 +03:00
id 'java'
id 'application'
}
sourceCompatibility = 11
targetCompatibility = 11
mainClassName = 'com.annimon.similarimagesbot.Main'
group 'com.annimon'
version '1.0.4'
2020-09-27 13:08:23 +03:00
repositories {
jcenter()
2022-01-08 11:22:03 +02:00
mavenCentral()
2020-09-27 13:08:23 +03:00
}
dependencies {
implementation 'com.github.pengrad:java-telegram-bot-api:6.9.1'
2020-09-27 13:08:23 +03:00
implementation 'com.github.kilianB:JImageHash:3.0.0'
implementation 'com.h2database:h2:1.4.200'
2022-01-08 11:22:03 +02:00
implementation 'org.apache.logging.log4j:log4j-core:2.17.1'
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.15.3'
implementation 'com.fasterxml.jackson.module:jackson-module-kotlin:2.15.3'
2020-10-17 23:52:28 +03:00
testImplementation platform("org.junit:junit-bom:5.9.2")
testImplementation 'org.junit.jupiter:junit-jupiter'
2020-09-27 13:08:23 +03:00
}
2020-09-29 00:16:58 +03:00
shadowJar {
mergeServiceFiles()
exclude 'META-INF/*.DSA'
exclude 'META-INF/*.RSA'
}