-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
40 lines (33 loc) · 885 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.4.0"
}
allprojects {
group = "io.github"
version = "0.0.1"
repositories {
maven("https://maven.aliyun.com/repository/central")
}
}
subprojects {
apply(plugin = "kotlin")
apply(plugin = "java-library-distribution")
dependencies {
api("org.slf4j:slf4j-api:1.7.29")
implementation(kotlin("stdlib"))
implementation(kotlin("reflect"))
testImplementation("org.junit.jupiter:junit-jupiter:5.6.2")
testImplementation(platform("org.junit:junit-bom:5.6.2"))
}
tasks.withType<KotlinCompile>().configureEach {
kotlinOptions {
jvmTarget = "11"
}
}
tasks.test {
useJUnitPlatform()
testLogging {
events("passed", "skipped", "failed")
}
}
}