-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
45 lines (38 loc) · 994 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
44
45
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
java
application
kotlin("jvm") version "1.3.21"
}
group = "org.liberejo"
version = "0.1.0-SNAPSHOT"
application {
mainClassName = "org.liberejo.launcher.DesktopLauncher"
}
repositories {
mavenLocal()
mavenCentral()
jcenter()
// temporary fix
maven { url = uri("https://dl.bintray.com/kodein-framework/Kodein-DI") }
}
dependencies {
implementation("org.liberejo:launcher:0.1.0-SNAPSHOT")
implementation("org.liberejo:api:0.1.0-SNAPSHOT")
testCompile("junit", "junit", "4.12")
implementation(kotlin("stdlib-jdk8"))
}
configure<JavaPluginConvention> {
sourceCompatibility = JavaVersion.VERSION_1_8
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}
val compileKotlin: KotlinCompile by tasks
compileKotlin.kotlinOptions {
jvmTarget = "1.8"
}
val compileTestKotlin: KotlinCompile by tasks
compileTestKotlin.kotlinOptions {
jvmTarget = "1.8"
}