-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle.kts
36 lines (29 loc) · 867 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.7.20"
id("info.solidsoft.pitest") version "1.7.4"
}
group = "com.poisonedyouth"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
pitest {
setProperty("junit5PluginVersion", "0.15")
setProperty("testPlugin", "junit5")
setProperty("targetClasses", listOf("com.poisonedyouth.*"))
setProperty("outputFormats", listOf("HTML"))
setProperty("failWhenNoMutations", false)
setProperty("mutators", listOf("ALL"))
}
dependencies {
testImplementation("org.junit.jupiter:junit-jupiter-api:5.9.1")
testImplementation("org.junit.jupiter:junit-jupiter-engine:5.9.1")
testImplementation("org.assertj:assertj-core:3.23.1")
}
tasks.test {
useJUnitPlatform()
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}