James Fredley
James Fredley
Interestingly on https://github.com/apache/grails-core/actions/runs/15731765021/job/44334333078?pr=14821 there were 0 timeouts on the first attempt, which is the first time I have seen that in a while.
It is currently blocked by CSP Also listed on https://github.com/apache/grails-static-website/issues/371
Need to understand how this works with matix.java in github actions.
I am closing this due to: https://www.google.com/search?q=does+gradle+toolchain+override+github+action+java+matrix+version&oq=does+gradle+toolchain+override+github+action+java+matrix+version&gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIGCAEQLhhA0gEJMTU3NTNqMGoxqAIAsAIA&sourceid=chrome&ie=UTF-8 Yes, the Gradle toolchain configuration overrides the Java version specified in the GitHub Actions matrix. Here's why: How it works: GitHub Actions Java...
more details: https://github.com/grails/grails-core/pull/13740#issuecomment-2411792238
This may have been resolved by https://github.com/grails/grails-core/pull/13801, but testing it is blocked by https://github.com/grails/grails-core/issues/13816
https://github.com/grails/grails-core/issues/13816 and https://github.com/grails/grails-core/pull/13801 got us past the initial issues. now need to have `org.gradle:gradle-tooling-api` in the distribution ``` grails Error: Unable to initialize main class org.grails.cli.GrailsCli Caused by: java.lang.NoClassDefFoundError: org/gradle/tooling/BuildCancelledException...
https://github.com/grails/grails-core/pull/13919 gets us past `Unable to initialize main class org.grails.cli.GrailsCli`
https://github.com/grails/grails-core/pull/13919#issuecomment-2538862741 But when running grails it chokes on another problem: ``` $ ./grails-7.0.0-SNAPSHOT/bin/grails --stacktrace | Error Error occurred running Grails CLI: Could not find artifact org.grails.profiles:angular:jar:${profiles-angular.version} in grailsCentral (https://repo.grails.org/grails/core) (NOTE:...
https://repo.grails.org/ui/repos/tree/PomView/libs-snapshots-local/org/grails/grails-bom/7.0.0-SNAPSHOT/grails-bom-7.0.0-20241229.020850-191.pom ${profiles-angular.version} was coming from grails-bom and `org.grails.cli.boot.GrailsDependencyVersions` needed to be updated to handle version lookup ``` 10.0.1 org.grails.profiles angular ${profiles-angular.version} ```