Update DSL samples to use test suites

This commit is contained in:
daz 2025-03-25 15:34:02 -06:00
parent acd2925667
commit a581639303
No known key found for this signature in database
2 changed files with 12 additions and 6 deletions

View File

@ -6,8 +6,12 @@ repositories {
mavenCentral()
}
dependencies {
testImplementation('junit:junit:4.13.2')
testing {
suites {
test {
useJUnit()
}
}
}
tasks.named("test").configure {

View File

@ -9,12 +9,14 @@ repositories {
dependencies {
api("org.apache.commons:commons-math3:3.6.1")
implementation("com.google.guava:guava:33.4.5-jre")
testImplementation("org.junit.jupiter:junit-jupiter:5.12.1")
}
tasks.test {
useJUnitPlatform()
testing {
suites {
val test by getting(JvmTestSuite::class) {
useJUnitJupiter()
}
}
}
tasks.named("test").configure {