Upgrade to Gradle 9.1.0#15236
Conversation
…de documentation/build.gradle.
…'t compile cleanly.
|
I've made some reasonable progress. I'll try to make ecj work tomorrow and see what's left. |
…tructure to run against pre-release ecj versions. Gradle has become terrible.
…urces. Update docs, where appropriate.
|
I think everything works... I checked everything locally and the gh workflow that verifies gradle upgrade sanity is also passing. We can wait for Uwe to release forbidden-apis or merge this in and remove the temporary code that turns forbidden apis off (#15246). |
|
Wow, I think merge now to reduce any hassles and let's smooth anything out as a followup? |
|
Merging this will also need to be coordinated with switching all jenkins workflows to jdk 25... which I'm not sure is installed on worker machines (asf infra, uwe's box)? I'll create a sub-issue to investigate this. |
| // https://github.com/policeman-tools/forbidden-apis/pull/272 | ||
| allprojects { | ||
| tasks.withType(CheckForbiddenApis.class).configureEach { | ||
| enabled = false |
There was a problem hiding this comment.
just reenable it like this: targetVersion = "24"
Then it runs, but with older signatures!
There was a problem hiding this comment.
I'll do this as an interim commit under #15246
| ### Basic steps: | ||
|
|
||
| 1. Install [OpenJDK 24](https://jdk.java.net/archive/). | ||
| 1. Install [OpenJDK 25](https://jdk.java.net/archive/). |
There was a problem hiding this comment.
the link here only shows java 24 as latest. Maybe only point to home page.
There was a problem hiding this comment.
Correct link is: https://jdk.java.net/25/ (but it may not be persistent)
* Fix smoke tester test workflow to run with Java 25 #15236. * Adding unsupported indexes for 9.12.3 for the smoke tester.
* Fix smoke tester test workflow to run with Java 25 #15236. * Adding unsupported indexes for 9.12.3 for the smoke tester.
This is a work in progress patch.
I've tried to assess how much is not working after an upgrade to gradle 9.1.0 and it seems most of the infrastructure works fine. Regeneration doesn't work (I know why). I'll try to push it forward but it seems like it's not going to be as complicated as I thought.
Issues to resolve:
Related patch #15238