Skip to content

Commit

Permalink
Run groovy tests on Java 8 as well
Browse files Browse the repository at this point in the history
  • Loading branch information
sambsnyd committed Feb 5, 2025
1 parent 422c053 commit 01a3911
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions rewrite-groovy/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,13 @@ dependencies {
testRuntimeOnly("org.codehaus.groovy:groovy-all:latest.release")
testRuntimeOnly(project(":rewrite-java-17"))
}

val testJava8 = tasks.register<Test>("testJava8") {
javaLauncher.set(javaToolchains.launcherFor {
languageVersion.set(JavaLanguageVersion.of(8))
})
}
tasks.named("check").configure {
// Enable once the java8 tests are passing
// dependsOn(testJava8)
}

0 comments on commit 01a3911

Please sign in to comment.