forked from Stickerifier/Stickerify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
42 lines (35 loc) · 817 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
plugins {
alias(libs.plugins.shadow)
id 'application'
id 'java'
}
repositories {
mavenCentral()
}
dependencies {
implementation libs.imgscalr
implementation libs.telegrambots
implementation libs.tika
implementation libs.bundles.logback
}
group = 'com.cellar'
version = '1.0-SNAPSHOT'
description = 'Telegram bot to convert images in the format required to be used as Telegram stickers'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(19)
}
}
tasks.withType(JavaCompile) {
sourceCompatibility = '18'
targetCompatibility = '19'
options.encoding = 'UTF-8'
}
application {
mainClass = 'com.cellar.stickerify.runner.Main'
}
shadowJar {
archiveBaseName.set('Stickerify')
archiveClassifier.set('shadow')
archiveVersion.set('')
}