Skip to content

Commit

Permalink
Try once again on Java 11
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek committed Dec 16, 2023
1 parent 4928023 commit a429a38
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ nexusPublishing {

java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(8))
languageVersion.set(JavaLanguageVersion.of(11))
}
}

val compiler = javaToolchains.compilerFor {
languageVersion.set(JavaLanguageVersion.of(8))
languageVersion.set(JavaLanguageVersion.of(11))
}

val tools = compiler.get().metadata.installationPath.file("lib/tools.jar")
Expand All @@ -85,7 +85,7 @@ dependencies {
testImplementation(files(tools))
testImplementation("org.openrewrite:rewrite-java:latest.integration")
testImplementation("org.openrewrite:rewrite-test:latest.integration")
testRuntimeOnly("org.openrewrite:rewrite-java-8:latest.integration")
testRuntimeOnly("org.openrewrite:rewrite-java-11:latest.integration")
testImplementation("org.slf4j:slf4j-api:latest.release")
testImplementation("com.google.testing.compile:compile-testing:latest.release")

Expand Down

0 comments on commit a429a38

Please sign in to comment.