-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
43 lines (35 loc) · 1.09 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
plugins {
kotlin("jvm") version "1.4.0"
}
allprojects {
repositories {
maven(url="https://nexus.geomatys.com/repository/maven-public")
mavenCentral()
jcenter()
maven(url="https://repo.spring.io/milestone")
maven(url="https://repo.spring.io/release")
}
}
subprojects {
version = "0.1"
apply{plugin("kotlin")}
dependencies {
// Use JUnit Jupiter API for testing.
testImplementation("org.junit.jupiter:junit-jupiter-api:5.6.2")
// Use JUnit Jupiter Engine for testing.
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.6.2")
// Use the Kotlin test library.
//testImplementation("org.jetbrains.kotlin:kotlin-test")
// Use the Kotlin JUnit integration.
//testImplementation("org.jetbrains.kotlin:kotlin-test-junit")
}
tasks.withType<Test> {
useJUnitPlatform()
}
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions {
freeCompilerArgs = listOf("-Xjsr305=strict")
jvmTarget = "11"
}
}
}