Update boot jdk to 26.0.2 and gradle to 9.7.0

Update to Gradle 9.7.0 requires a change in build.gradle:
Isolated projects is a new Gradle performance feature that safely runs project 
configuration in parallel.
It prohibits cross-project model coupling at the configuration level. 
Under this change, now in the dependency block a project(“:project-name”) would 
return a DefaultProjectDependency instead of a DefaultProject.
Hence 9.7.0 causes multiple errors as below:

* What went wrong:
A problem occurred evaluating root project 'rt'.
> Could not get unknown property 'sourceSets' for project ':base' of type 
> org.gradle.api.internal.artifacts.dependencies.DefaultProjectDependency.


The changes in build.gradle file are to fix this repeated error.

Build and sanity testing locally and CI is all green.


---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

-------------

Commit messages:
 - update boot jdk and gradle

Changes: https://git.openjdk.org/jfx/pull/2265/files
  Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=2265&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8390498
  Stats: 86 lines in 8 files changed: 19 ins; 13 del; 54 mod
  Patch: https://git.openjdk.org/jfx/pull/2265.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/2265/head:pull/2265

PR: https://git.openjdk.org/jfx/pull/2265

Reply via email to