blob: 4371b82ffc6b893d409acaf7817ee2aec6ca76cf [file] [log] [blame]
description = "Test suite for making sure Tapestry runs on latest Java"
sourceCompatibility = "17"
targetCompatibility = "17"
tasks.withType(JavaCompile).each {
it.options.compilerArgs.add("--enable-preview")
}
test {
dependsOn 'testNG'
useJUnitPlatform()
jvmArgs(["--enable-preview"])
}
tasks.register('testNG', Test) {
useTestNG()
jvmArgs(["--enable-preview"])
}
dependencies {
testImplementation project(':tapestry-ioc')
testImplementation "org.slf4j:slf4j-api:${versions.slf4j}"
testImplementation "org.testng:testng:${versions.testng}"
testImplementation "org.junit.jupiter:junit-jupiter:${versions.junitJupiter}"
}