Skip to content

Conversation

JakeWharton
Copy link
Collaborator

We only need to build on a single JDK (the latest, 18) and target the lowest supported (8).

We only need to build on a single JDK (the latest, 18) and target the lowest supported (8).
@@ -26,3 +26,26 @@ jar {
attributes 'Automatic-Module-Name': 'retrofit2'
}
}

// Create a test task for each supported JDK.
(8..17).each { majorVersion ->
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

18 hasn't been deployed by Adoptium yet, but the 18 on the CI runner will be used by the normal 'test' task.

Comment on lines +32 to +33
// Adoptium JDK 9 cannot extract on Linux or Mac OS.
if (majorVersion == 9) return
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a Gradle bug, but I'm not sure. I don't really care since it's only one really old JDK.

@JakeWharton JakeWharton requested a review from swankjesse March 28, 2022 18:45
Copy link
Member

@oldergod oldergod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:niiice:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants