Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): Grails 7 grails-forge update JDK options to 17, 21 and 23 #400

Merged
merged 11 commits into from
Oct 13, 2024

Conversation

jamesfredley
Copy link
Contributor

@jamesfredley jamesfredley commented Oct 11, 2024

defaults to System.getProperty("java.version") for tests.

Adding Java 23 (same applies to 22) to matix.java will likely need to wait on #391
https://github.com/grails/grails-forge/pull/400/files#diff-4c087648fbb704b0cc106eebfff7779856a6af4a6987e919debdd3afd1fdf7bbR15
Grails 7 supports 23, but grails-forge does not yet

also

  • updates Gradle to 8.10.2 for grails-forge and the generated application
  • switches from temurin to liberica JDK in github workflows

@jamesfredley jamesfredley linked an issue Oct 11, 2024 that may be closed by this pull request
@jamesfredley jamesfredley requested a review from matrei October 11, 2024 23:31
@jamesfredley jamesfredley self-assigned this Oct 11, 2024
@jamesfredley jamesfredley changed the title Update to JDK 17, 21 and 23 options Grails 7: grails-forge update to JDK 17, 21 and 23 options Oct 11, 2024
@matrei
Copy link
Contributor

matrei commented Oct 12, 2024

I'm thinking about how this would work in CI when running the tests, if we were to use a matrix for building and/or running the tests. Is there any value in running the tests in this project with 17, 21 and 23 and in that case is it feasible with generating the apps in the tests with DEFAULT_OPTION.

@jamesfredley
Copy link
Contributor Author

If we put matrix java back in place that makes sense to exercise the different versions. I was worried about these tests failing locally if you happened to be on say Java 19 or 22, but that is pretty unlikely.

@jamesfredley jamesfredley changed the title Grails 7: grails-forge update to JDK 17, 21 and 23 options Grails 7: grails-forge update JDK options to 17, 21 and 23 Oct 12, 2024
@jamesfredley jamesfredley changed the title Grails 7: grails-forge update JDK options to 17, 21 and 23 fix(deps): Grails 7 grails-forge update JDK options to 17, 21 and 23 Oct 12, 2024
@jamesfredley jamesfredley changed the title fix(deps): Grails 7 grails-forge update JDK options to 17, 21 and 23 chore(deps): Grails 7 grails-forge update JDK options to 17, 21 and 23 Oct 12, 2024
@jamesfredley jamesfredley merged commit 559bf5d into 7.0.x Oct 13, 2024
11 checks passed
@jamesfredley jamesfredley deleted the update-jdk-version-grails-7 branch October 13, 2024 02:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Grails 7: Remove hard-coded JdkVersion
2 participants