-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
38 lines (30 loc) · 1.04 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
import info.solidsoft.gradle.pitest.PitestPluginExtension
plugins {
alias(libs.plugins.publishdata)
id("info.solidsoft.pitest") version "1.15.0" apply false
}
group = "net.onelitefeather.titan"
version = "2.1.0"
publishData {
addBuildData()
addMainRepo("https://repo.onelitefeather.dev/onelitefeather-releases")
addMasterRepo("https://repo.onelitefeather.dev/onelitefeather-releases")
addSnapshotRepo("https://repo.onelitefeather.dev/onelitefeather-snapshots")
publishTask("shadowJar")
}
subprojects {
apply(plugin = "java")
apply(plugin = "info.solidsoft.pitest")
configure<PitestPluginExtension> {
pitestVersion.set("1.16.3")
junit5PluginVersion.set("1.2.1")
threads.set(8)
enableDefaultIncrementalAnalysis.set(true)
outputFormats.addAll("XML", "HTML")
timestampedReports.set(false)
if (project.name in listOf("common", "api", "setup")) {
failWhenNoMutations.set(false)
}
targetClasses.add("net.onelitefeather.titan.*")
}
}