mirror of
https://github.com/octoleo/plantuml.git
synced 2024-11-05 21:17:52 +00:00
Merge pull request #851 from soloturn/gradle
build.gradle.kts, add unit testing
This commit is contained in:
commit
c7082a727b
@ -10,8 +10,8 @@ repositories {
|
||||
|
||||
dependencies {
|
||||
compileOnly("org.apache.ant:ant:1.10.12")
|
||||
testImplementation("org.assertj:assertj-core:3.21.0")
|
||||
testImplementation("org.junit.jupiter:junit-jupiter:5.8.1")
|
||||
testImplementation("org.assertj:assertj-core:3.22.0")
|
||||
testImplementation("org.junit.jupiter:junit-jupiter:5.8.2")
|
||||
testImplementation("org.scilab.forge:jlatexmath:1.0.7")
|
||||
}
|
||||
|
||||
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user