The GitHub Actions job "Code Style" on grails-core.git/feat/gradle-9.5.1 has succeeded. Run started by GitHub user jamesfredley (triggered by jamesfredley).
Head commit for run: 7e4c48e799638335df66167ee4214c517522aea3 / James Fredley <[email protected]> Upgrade to Gradle 9.5.1 Update the Gradle wrapper from 9.4.1 to 9.5.1 across all projects, plus related fixes for the new Gradle version. Wrapper version updates: - gradle/wrapper/gradle-wrapper.properties (root) - build-logic/gradle/wrapper/gradle-wrapper.properties - grails-gradle/gradle/wrapper/gradle-wrapper.properties - grails-forge/gradle/wrapper/gradle-wrapper.properties - grails-profiles/base/skeleton/gradle/wrapper/gradle-wrapper.properties - grails-profiles/profile/skeleton/gradle/wrapper/gradle-wrapper.properties - grails-shell-cli/src/test/resources/gradle-sample/gradle/wrapper/gradle-wrapper.properties - grails-forge/grails-forge-core/src/main/java/org/grails/forge/feature/build/gradle/templates/gradleWrapperProperties.rocker.raw - .sdkmanrc (gradle=9.5.1) - gradle.properties (gradleToolingApiVersion=9.5.1) Regenerated wrapper jars and gradlew/gradlew.bat scripts in all the locations above (via the gradle-bootstrap project for root/forge/grails-gradle and direct propagation for build-logic, the profile skeletons, the forge template, and the shell-cli test sample) so they match the new wrapper properties. Gradle 9.5 compatibility fix: - grails-forge/grails-cli/build.gradle: change `project(':grails-cli-shadow').tasks.named('shadowJar')` to use `rootProject.project(':grails-cli-shadow')` (consistent with the rootProject.project(':grails-forge-cli').tasks pattern used elsewhere in the same file). In Gradle 9.5 the `project(...)` call inside a `dependencies {}` block returns a `DefaultProjectDependency`, which no longer exposes `.tasks`. Going through `rootProject.project(...)` keeps the existing `evaluationDependsOn(':grails-cli-shadow')` ordering and reaches the actual Project to grab the shadowJar task output. Verified locally on JDK 21: - ./gradlew codeStyle (root, grails-gradle, grails-forge): pass - ./gradlew validateDependencyVersions (root + grails-gradle): pass - ./gradlew build :grails-shell-cli:installDist groovydoc -PonlyCoreTests (root, mirrors CI 'build' job): pass - ./gradlew bootJar check -PonlyFunctionalTests -PskipHibernate5Tests -PskipMongodbTests (root, mirrors CI 'functional' job): pass - ./gradlew bootJar check -PonlyHibernate5Tests (root, mirrors CI 'hibernate5Functional' job): pass (571 tests, 0 failures) - ./gradlew build -PgrailsIndy=false (grails-forge, mirrors CI 'buildForge' job): pass (1585 tasks) - ./gradlew build (grails-gradle, mirrors CI 'buildGradle' job): pass - ./gradlew :grails-wrapper:distZip :grails-doc:build: pass - ./gradlew --version reports 9.5.1 from all four primary wrappers The MongoDB functional tests (`-PonlyMongodbTests`) could not be verified locally because the WSL2 + Docker Desktop environment used here cannot reach Testcontainers-spawned containers on their dynamic ports; the same job runs on GitHub Actions where Docker networking works. Assisted-by: claude-code:claude-4.7-opus Report URL: https://github.com/apache/grails-core/actions/runs/26199354110 With regards, GitHub Actions via GitBox
