You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
comment mavenLocal() repository from the build configuration, as it was only required for the groovy-joint-workflow GitHub workflow.
Updated the groovy-joint-workflow to dynamically add mavenLocal() to the build file at runtime, ensuring it is only used in the relevant workflow without affecting other builds.
Simplify the build by removing the use of CI_GROOVY_VERSION enviroment var and override the project property groovyVersion with a command line property assignment instead.
Use publishToMavenLocal instead of install when building Groovy as Grails will try to load the Groovy libraries from mavenLocal().
With these changes the groovy-joint-worflow actually uses the built Groovy libraries when building Grails.
This should all be done in a plugin and just require a single import. There is no need to add mavenLocal commented out. You can just put it in an if statement that tests to see if it is running a joint workflow
grails-core example: https://github.com/grails/grails-core/blob/7.0.x/.github/workflows/groovy-joint-workflow.yml
These changes have been completed on #13681
mavenLocal()
repository from the build configuration, as it was only required for thegroovy-joint-workflow
GitHub workflow.groovy-joint-workflow
to dynamically addmavenLocal()
to the build file at runtime, ensuring it is only used in the relevant workflow without affecting other builds.CI_GROOVY_VERSION
enviroment var and override the project propertygroovyVersion
with a command line property assignment instead.publishToMavenLocal
instead ofinstall
when building Groovy as Grails will try to load the Groovy libraries frommavenLocal()
.With these changes the
groovy-joint-worflow
actually uses the built Groovy libraries when building Grails.They need to be completed on the following repos:
https://github.com/grails/grails-async
https://github.com/grails/gorm-neo4j
https://github.com/grails/gorm-mongodb
https://github.com/grails/gorm-hibernate5
https://github.com/grails/gorm-hibernate6
Already completed on:
https://github.com/grails/grails-views
https://github.com/grails/grails-testing-support
https://github.com/grails/grails-data-mapping
https://github.com/grails/grails-gsp
The text was updated successfully, but these errors were encountered: