Skip to content

Commit

Permalink
Remove specific Java version for testing in gradle files (testcontain…
Browse files Browse the repository at this point in the history
…ers#9626)

HiveMQ and OpenFGA module are keeping the configuration.
  • Loading branch information
eddumelendez authored Dec 11, 2024
1 parent 172dc4a commit 165c724
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 68 deletions.
13 changes: 0 additions & 13 deletions docs/examples/junit4/generic/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,3 @@ dependencies {
testImplementation "org.seleniumhq.selenium:selenium-api:4.25.0"
testImplementation 'org.assertj:assertj-core:3.26.3'
}

test {
javaLauncher = javaToolchains.launcherFor {
languageVersion = JavaLanguageVersion.of(11)
}
}

compileTestJava {
javaCompiler = javaToolchains.compilerFor {
languageVersion = JavaLanguageVersion.of(11)
}
options.release.set(11)
}
13 changes: 0 additions & 13 deletions examples/cucumber/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,3 @@ dependencies {
testImplementation 'org.testcontainers:selenium'
testImplementation 'org.assertj:assertj-core:3.26.3'
}

test {
javaLauncher = javaToolchains.launcherFor {
languageVersion = JavaLanguageVersion.of(11)
}
}

compileTestJava {
javaCompiler = javaToolchains.compilerFor {
languageVersion = JavaLanguageVersion.of(11)
}
options.release.set(11)
}
13 changes: 0 additions & 13 deletions modules/activemq/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,3 @@ dependencies {
testImplementation "org.apache.activemq:activemq-client:6.1.2"
testImplementation "org.apache.activemq:artemis-jakarta-client:2.37.0"
}

test {
javaLauncher = javaToolchains.launcherFor {
languageVersion = JavaLanguageVersion.of(17)
}
}

compileTestJava {
javaCompiler = javaToolchains.compilerFor {
languageVersion = JavaLanguageVersion.of(17)
}
options.release.set(11)
}
13 changes: 0 additions & 13 deletions modules/grafana/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,3 @@ dependencies {
testImplementation 'io.micrometer:micrometer-registry-otlp:1.13.4'
testImplementation 'uk.org.webcompere:system-stubs-junit4:2.1.6'
}

test {
javaLauncher = javaToolchains.launcherFor {
languageVersion = JavaLanguageVersion.of(11)
}
}

compileTestJava {
javaCompiler = javaToolchains.compilerFor {
languageVersion = JavaLanguageVersion.of(11)
}
options.release.set(11)
}
6 changes: 3 additions & 3 deletions modules/openfga/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ dependencies {

test {
javaLauncher = javaToolchains.launcherFor {
languageVersion = JavaLanguageVersion.of(11)
languageVersion = JavaLanguageVersion.of(17)
}
}

compileTestJava {
javaCompiler = javaToolchains.compilerFor {
languageVersion = JavaLanguageVersion.of(11)
languageVersion = JavaLanguageVersion.of(17)
}
options.release.set(11)
options.release.set(17)
}
13 changes: 0 additions & 13 deletions modules/questdb/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,3 @@ dependencies {
testImplementation 'org.awaitility:awaitility:4.2.0'
testImplementation 'org.apache.httpcomponents:httpclient:4.5.14'
}

test {
javaLauncher = javaToolchains.launcherFor {
languageVersion = JavaLanguageVersion.of(11)
}
}

compileTestJava {
javaCompiler = javaToolchains.compilerFor {
languageVersion = JavaLanguageVersion.of(11)
}
options.release.set(11)
}

0 comments on commit 165c724

Please sign in to comment.