-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.gradle.kts
57 lines (42 loc) · 1.65 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id("org.jetbrains.kotlin.jvm").version("1.3.31")
id("com.github.johnrengelman.shadow").version("4.0.2")
application
}
val kotlinVersion = "1.3.31"
val tornadoFxVersion = "1.7.17"
repositories {
jcenter()
mavenLocal()
mavenCentral()
maven(url = "https://oss.sonatype.org/content/repositories/snapshots/")
}
// compile bytecode to java 8 (default is java 6)
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}
dependencies {
// Use the Kotlin JDK 8 standard library.
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
compile("no.tornado:tornadofx:$tornadoFxVersion")
compile("com.google.code.gson:gson:2.8.5")
compile("com.github.cretz.kastree:kastree-ast-common:0.4.0")
compile("com.github.cretz.kastree:kastree-ast-jvm:0.4.0")
compile("com.github.cretz.kastree:kastree-ast-psi:0.4.0")
compile("org.jetbrains.kotlin:kotlin-reflect:1.3.30")
compile("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.1.1")
compile("org.jetbrains.kotlinx:kotlinx-coroutines-javafx:1.1.1")
testCompile("io.github.microutils:kotlin-logging:1.4.4")
testCompile("org.jetbrains.kotlin:kotlin-test")
testCompile("org.jetbrains.kotlin:kotlin-test-junit")
testCompile("org.testfx:testfx-core:4.0.13-alpha")
testCompile("org.testfx:testfx-junit:4.0.13-alpha")
testCompile("org.mockito:mockito-core:1.10.19")
testCompile("com.nhaarman.mockitokotlin2:mockito-kotlin:2.1.0") {
exclude("exclude group: 'org.mockito'")
}
}
application {
mainClassName = "com.github.hd.tornadofxsuite.app.TornadoFXSuite"
}