-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
46 lines (38 loc) · 1.16 KB
/
build.gradle.kts
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
43
44
45
46
plugins {
java
application
id("com.github.johnrengelman.shadow") version "8.1.1"
}
group = "com.dunctebot"
version = "1.0-SNAPSHOT"
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
application {
mainClass.set("com.dunctebot.twitch.Main")
}
repositories {
mavenCentral()
}
dependencies {
implementation(group = "mysql", name = "mysql-connector-java", version = "8.0.28")
implementation(group = "com.fasterxml.jackson.datatype", name = "jackson-datatype-jsr310", version = "2.12.4")
implementation(group = "ch.qos.logback", name = "logback-classic", version = "1.4.7")
implementation(group = "com.github.twitch4j", name = "twitch4j", version = "1.15.0")
implementation(group = "com.squareup.okhttp3", name = "okhttp", version = "4.10.0")
implementation("net.sf.trove4j:trove4j:3.0.3")
}
tasks {
compileJava {
// options.compilerArgs.add("--enable-preview")
options.isIncremental = true
}
wrapper {
gradleVersion = "8.1.1"
distributionType = Wrapper.DistributionType.BIN
}
shadowJar {
archiveClassifier.set("all")
}
}