2023-01-10 16:55:02 +02:00
|
|
|
plugins {
|
2023-10-18 21:26:22 +03:00
|
|
|
id 'com.github.johnrengelman.shadow' version '8.1.1'
|
2023-01-10 16:55:02 +02:00
|
|
|
id 'java'
|
|
|
|
id 'application'
|
|
|
|
}
|
|
|
|
|
|
|
|
mainClassName = 'com.annimon.ffmpegbot.Main'
|
|
|
|
group 'com.annimon'
|
2024-06-30 21:45:30 +03:00
|
|
|
version '1.1.1-SNAPSHOT'
|
2023-01-10 16:55:02 +02:00
|
|
|
|
2023-01-10 17:32:28 +02:00
|
|
|
sourceCompatibility = 17
|
|
|
|
targetCompatibility = 17
|
2023-01-10 16:55:02 +02:00
|
|
|
compileJava.options.encoding = 'UTF-8'
|
|
|
|
|
|
|
|
tasks.withType(JavaCompile) {
|
|
|
|
options.encoding = 'UTF-8'
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2024-07-07 20:28:25 +03:00
|
|
|
implementation 'com.annimon:tgbots-module:7.6.0'
|
2024-06-30 21:45:30 +03:00
|
|
|
implementation 'org.slf4j:slf4j-simple:2.0.13'
|
2023-01-10 16:55:02 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|
|
|
|
|
|
|
|
shadowJar {
|
|
|
|
mergeServiceFiles()
|
|
|
|
exclude 'META-INF/*.DSA'
|
|
|
|
exclude 'META-INF/*.RSA'
|
|
|
|
}
|