-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbuild.gradle.kts
49 lines (40 loc) · 1.22 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
plugins {
kotlin("jvm") version "1.5.10"
application
id("org.openjfx.javafxplugin") version "0.0.10"
id("com.github.johnrengelman.shadow") version "7.0.0"
}
group = "me.kurikaesu"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
maven {
url = uri("https://oss.sonatype.org/content/repositories/snapshots")
}
}
javafx {
version = "17"
modules("javafx.controls", "javafx.graphics")
}
application {
mainClass.set("dev.villanueva.userland_utility.MainKt")
}
dependencies {
testImplementation("org.jetbrains.kotlin:kotlin-test:1.5.21")
implementation("org.jetbrains.kotlin:kotlin-reflect:1.5.21")
implementation("no.tornado:tornadofx:2.0.0-SNAPSHOT")
implementation("com.github.kwhat:jnativehook:2.2-SNAPSHOT")
implementation("com.kohlschutter.junixsocket:junixsocket-core:2.4.0")
implementation("com.fasterxml.jackson.core:jackson-databind:2.12.5")
}
tasks.test {
useJUnit()
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "11"
}
tasks.withType<ShadowJar> {
archiveFileName.set("userspace-tablet-driver-utility.jar")
}