-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle.kts
43 lines (35 loc) · 985 Bytes
/
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
import org.jetbrains.kotlin.gradle.dsl.Coroutines
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
val gradleWrapperVersion by extra { "5.2.1" }
val kotlinVersion by extra { "1.3.21" }
plugins {
val kotlinVersion = "1.3.21"
kotlin("jvm") version kotlinVersion
}
repositories {
jcenter()
}
dependencies {
compile(kotlin("stdlib", kotlinVersion))
compile(kotlin("stdlib-jdk7", kotlinVersion))
compile(kotlin("stdlib-jdk8", kotlinVersion))
compile(fileTree("vendor/OpenJUMP-1.14-r6065-CORE/lib") {
include("*.jar")
})
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
kotlin {
experimental.coroutines = Coroutines.ENABLE
}
tasks {
withType<Wrapper> {
gradleVersion = gradleWrapperVersion
distributionType = Wrapper.DistributionType.ALL
}
withType<KotlinCompile> {
kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8.toString()
}
}