-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
46 lines (38 loc) · 1.02 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
plugins {
id("java")
id("groovy")
id("application")
id("org.jetbrains.kotlin.jvm").version("1.3.41")
}
repositories {
jcenter()
}
configurations.all {
resolutionStrategy.eachDependency {
if (requested.group == "org.codehaus.groovy" && requested.name == "groovy-all") {
useTarget("org.codehaus.groovy:groovy:2.4.10")
}
}
}
dependencies {
compile("io.airlift:airline:0.7")
compile("org.eclipse.jgit:org.eclipse.jgit:4.9.1.201712030800-r")
compile("org.jetbrains.kotlin:kotlin-stdlib")
compile("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
runtime("org.slf4j:slf4j-simple:1.7.25")
testCompile(gradleTestKit())
testCompile("org.codehaus.groovy:groovy:2.4.10")
testCompile("org.spockframework:spock-core:1.0-groovy-2.4")
testRuntime("cglib:cglib-nodep:2.2.2")
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
}
application {
mainClassName = "org.gradle.builds.Main"
}
tasks {
"test"(Test::class) {
maxParallelForks = 2
}
}