-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
46 lines (38 loc) · 1.15 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 {
id("java")
application
kotlin("jvm") version "1.9.25"
}
group = "pw.chew"
version = "1.0-SNAPSHOT"
repositories {
maven {
url = uri("https://m2.chew.pro/releases/")
content {
includeGroup("pw.chew")
}
}
mavenCentral()
}
dependencies {
implementation("net.dv8tion", "JDA", "5.2.0")
implementation("pw.chew", "jda-chewtils", "2.0")
implementation("org.json", "json", "20240303")
implementation("ch.qos.logback", "logback-classic", "1.5.6")
implementation("mysql", "mysql-connector-java", "8.0.33")
implementation("org.mapdb", "mapdb", "3.1.0")
implementation("org.hibernate", "hibernate-core", "5.6.15.Final")
implementation("com.github.ben-manes.caffeine", "caffeine", "3.1.8")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.10.3")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.10.3")
}
tasks.getByName<Test>("test") {
useJUnitPlatform()
}
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions.jvmTarget = "17"
kotlinOptions.apiVersion = "1.6"
}
application {
mainClass.set("pw.chew.mlb.MLBBot")
}