-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.gradle.kts
76 lines (68 loc) · 2.13 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
plugins {
id("org.openjfx.javafxplugin") version "0.1.0"
id("dev.hydraulic.conveyor") version "1.5"
kotlin("jvm") version "1.9.10"
kotlin("plugin.serialization") version "1.9.10"
application
}
repositories {
jcenter()
}
version = "0.3.1"
allprojects {
group = "stan.qodat"
apply(plugin = "org.jetbrains.kotlin.jvm")
repositories {
maven(url = "https://repo.runelite.net")
mavenCentral()
}
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(17))
}
sourceSets {
named("main") {
java.srcDir("src/main/kotlin")
}
}
tasks {
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions.jvmTarget = "17"
}
jar {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}
}
}
application {
mainClass.set("stan.qodat.Launcher")
applicationName = "Qodat"
}
javafx {
version = "17.0.2"
modules(
"javafx.controls",
"javafx.fxml",
"javafx.media",
"javafx.swing"
)
}
val javaFXOptions = the<org.openjfx.gradle.JavaFXOptions>()
dependencies {
implementation(project("qodat-api"))
implementation("org.jsoup:jsoup:1.17.2")
implementation("us.ihmc:ihmc-javafx-toolkit:17-0.21.2")
implementation("org.jcodec:jcodec:0.2.5")
implementation("org.jcodec:jcodec-javase:0.2.5")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.3")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-javafx:1.8.0")
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.5.0")
implementation("org.orbisgis:poly2tri-core:0.1.2")
implementation(group = "ch.qos.logback", name = "logback-classic", version = "1.2.9")
implementation("com.displee:rs-cache-library:7.1.3")
implementation("org.joml:joml-primitives:1.10.0")
implementation("org.joml:joml:1.10.5")
implementation("no.tornado:tornadofx:1.7.20")
implementation("io.github.pdvrieze.xmlutil:serialization-jvm:0.86.3")
testImplementation(kotlin("test-junit"))
}