-
Notifications
You must be signed in to change notification settings - Fork 122
/
build.gradle.kts
58 lines (48 loc) · 1.16 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
58
plugins {
java
`java-library`
kotlin("jvm") version KOTLIN_VERSION apply true
}
allprojects {
group = "org.gradle.kotlin.dsl.samples.multiproject"
version = "1.0"
repositories {
jcenter()
}
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
repositories {
jcenter()
mavenCentral()
maven { setUrl("https://plugins.gradle.org/m2") }
}
val test by tasks.getting(Test::class) {
useTestNG()
}
dependencies {
listOf("stdlib", "reflect").forEach {
implementation(kotlin(it))
}
listOf("test").forEach {
testImplementation(kotlin(it))
}
listOf("org.testng:testng:7.0.0", "org.assertj:assertj-core:3.10.0").forEach {
testImplementation(it)
}
listOf("klaxon", "klaxon-jackson").forEach {
implementation(project(":$it", "default"))
}
}
//
//dependencies {
// // Make the root project archives configuration depend on every subproject
// subprojects.forEach {
// archives(it)
// }
//}
subprojects {
extra["signing.secretKeyRingFile"] = System.getProperty("user.home") + "/.gnupg/secring.gpg"
}