forked from thomasnield/rxkotlinfx-tornadofx-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
56 lines (46 loc) · 1.23 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
plugins {
kotlin("jvm") version "1.3.61"
id("application")
id("org.openjfx.javafxplugin") version "0.0.8"
}
javafx {
version = "13.0.2"
modules = mutableListOf("javafx.controls", "javafx.graphics")
}
application {
mainClassName = "app.ApplicationRunner"
}
group = "org.example"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
maven { setUrl("https://oss.sonatype.org/content/repositories/snapshots") }
}
dependencies {
implementation(kotlin("stdlib-jdk8"))
implementation("no.tornado:tornadofx:2.0.0-SNAPSHOT")
implementation("com.github.thomasnield:rxkotlinfx:2.2.2")
implementation("io.reactivex.rxjava2:rxkotlin:2.4.+")
implementation("org.nield:rxkotlin-jdbc:0.4.1")
implementation("org.controlsfx:controlsfx:11.0.1")
implementation("org.xerial:sqlite-jdbc:3.23.1")
testImplementation("io.kotlintest:kotlintest-runner-junit5:3.4.2")
}
application {
applicationDefaultJvmArgs = listOf(
"--add-opens=javafx.controls/javafx.scene.control.skin=ALL-UNNAMED"
)
}
tasks {
compileKotlin {
kotlinOptions.jvmTarget = "11"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "11"
}
}
tasks {
test {
useJUnitPlatform()
}
}