1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-12-22 10:59:01 +00:00

build.gradle.kts, add unit testing

improves #47
This commit is contained in:
soloturn 2022-01-07 02:51:54 +01:00
parent 9cba08f732
commit 284285140c

View File

@ -45,6 +45,17 @@ sourceSets {
include("**/*.txt")
}
}
test {
java {
srcDirs("test/net")
srcDirs("test/nonreg")
}
resources {
srcDirs(".")
include("skin/**/*.skin")
include("themes/**/*.puml")
}
}
}
tasks.withType<Jar> {
@ -83,3 +94,8 @@ tasks.withType<Javadoc> {
addStringOption("Xmaxwarns", "1")
}
}
tasks.test {
useJUnitPlatform()
testLogging.showStandardStreams = true
}