-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
40 lines (32 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.3.72"
`java-gradle-plugin`
}
group = "cz.richter.david"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
implementation(kotlin("stdlib-jdk8"))
compileOnly(group = "org.junit.jupiter", name = "junit-jupiter-engine", version = "5.3.1")
compileOnly(group = "org.junit.platform", name = "junit-platform-launcher", version = "1.3.1")
testImplementation(group = "org.junit.jupiter", name = "junit-jupiter-engine", version = "5.3.1")
testImplementation(group = "org.junit.platform", name = "junit-platform-launcher", version = "1.3.1")
}
project.configurations.runtimeClasspath
gradlePlugin {
plugins {
create("distributed-test-runner-plugin") {
id = "cz.richter.david.gradle.plugin.distributed-test-runner"
implementationClass = "cz.richter.david.distributedTestRunner.DistributedTestRunnerPlugin"
}
}
}
tasks.withType<Test> {
useJUnitPlatform()
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}