-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
42 lines (33 loc) · 883 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
plugins {
java
kotlin("jvm") version "1.3.21"
kotlin("kapt") version "1.3.21"
}
group = "net.oxspring.zally.ruleset.sample"
version = "1.0.0-SNAPSHOT"
repositories {
mavenCentral()
maven("https://jitpack.io")
}
dependencies {
val zallyVersion = "master-SNAPSHOT"
kapt("com.github.zalando.zally:zally-core:$zallyVersion")
compileOnly(kotlin("stdlib-jdk8"))
compileOnly("com.github.zalando.zally:zally-core:$zallyVersion")
testCompile("com.github.zalando.zally:zally-core:$zallyVersion")
testCompile("com.github.zalando.zally:zally-test:$zallyVersion")
}
kapt {
includeCompileClasspath = false
}
configure<JavaPluginConvention> {
sourceCompatibility = JavaVersion.VERSION_1_8
}
tasks {
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
}