The GitHub Actions job "CI - Groovy Joint Validation Build" on 
grails-core.git/fix-overlapping-task-outputs has succeeded.
Run started by GitHub user ribafish (triggered by jdaugherty).

Head commit for run:
90c408651d4867c87dca943ce1cb18ee220ee69d / Gasper Kojek <[email protected]>
Fix overlapping task outputs preventing build cache usage

GrailsGradlePlugin.configureGroovyCompiler() adds the same output file
(build/grailsGroovyCompilerConfig.groovy) to every GroovyCompile task
in a project. When a project has multiple GroovyCompile tasks (e.g.
compileGroovy, compileTestGroovy, compileIntegrationTestGroovy), Gradle
detects overlapping outputs and refuses to cache any of them.

Fix: use a task-specific config file name
(grailsGroovyCompilerConfig-{taskName}.groovy) so each GroovyCompile
task has a unique output path.

Similarly, GrailsCodeStylePlugin redirects Checkstyle and CodeNarc
reports to rootProject.buildDir/reports/codestyle/{tool}/{project}.xml.
Projects with multiple source sets (e.g. grails-cache has ast + main)
have multiple tasks writing to the same report file. Fix: include the
task name in the report file path.

Report URL: https://github.com/apache/grails-core/actions/runs/23542416283

With regards,
GitHub Actions via GitBox

Reply via email to