forked from dogbin/dogbin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
38 lines (31 loc) · 857 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
import org.gradle.api.tasks.testing.logging.TestLogEvent
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
base
kotlin("jvm") version "1.3.50"
}
allprojects {
group = "dog.del"
version = "2.0.0-SNAPSHOT"
apply(plugin = "kotlin")
repositories {
jcenter()
maven { url = uri("https://kotlin.bintray.com/ktor") }
maven { url = uri("https://plugins.gradle.org/m2/") }
maven { url = uri("https://jitpack.io") }
}
tasks.withType<Test> {
useJUnitPlatform {
includeEngines("junit-jupiter")
}
failFast = true
testLogging {
events = setOf(TestLogEvent.FAILED, TestLogEvent.PASSED, TestLogEvent.SKIPPED)
}
}
tasks.withType<KotlinCompile> {
kotlinOptions {
jvmTarget = "1.8"
}
}
}