Skip to content

Commit

Permalink
Use Zulu JDKs (#4014)
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler authored Dec 18, 2023
1 parent c187f4a commit 2f12836
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 1 addition & 3 deletions retrofit/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,10 @@ jar {

// Create a test task for each supported JDK.
(8..19).each { majorVersion ->
// Adoptium JDK 9 cannot extract on Linux or Mac OS.
if (majorVersion == 9) return

def jdkTest = tasks.register("testJdk$majorVersion", Test) {
javaLauncher = javaToolchains.launcherFor {
languageVersion = JavaLanguageVersion.of(majorVersion)
vendor = JvmVendorSpec.AZUL
}

description = "Runs the test suite on JDK $majorVersion"
Expand Down
4 changes: 4 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
plugins {
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.7.0'
}

rootProject.name = 'retrofit-root'

include ':retrofit'
Expand Down

0 comments on commit 2f12836

Please sign in to comment.