forked from jedlimlx/TrackerV2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
60 lines (49 loc) · 1.08 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.5.10"
id("org.openjfx.javafxplugin") version "0.0.10"
id("org.beryx.jlink") version "2.24.0"
}
group = "org.tracker"
version = "1.0-SNAPSHOT"
application {
mainClass.set("application.Main")
}
repositories {
mavenCentral()
}
dependencies {
implementation("org.bytedeco:javacv-platform:1.5.5")
implementation("com.github.holgerbrandl:krangl:0.17.1")
testImplementation(kotlin("test"))
}
javafx {
modules("javafx.controls", "javafx.fxml", "javafx.swing", "javafx.web")
}
sourceSets {
main {
java {
srcDirs("src/main/kotlin")
}
resources {
srcDirs("src/main/resources")
}
}
test {
java {
srcDirs("src/test/kotlin")
}
resources {
srcDirs("src/test/resources")
}
}
}
tasks.test {
useJUnitPlatform()
}
tasks.withType<KotlinCompile>() {
kotlinOptions.jvmTarget = "11"
}
tasks.withType<Copy> {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}