You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by jd...@apache.org on 2025/04/17 14:20:17 UTC
(grails-core) 03/04: fix - be sure the compiler script depends on the configurations so that if the path changes, it will force a rerun
This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a commit to branch grails-views-merge
in repository https://gitbox.apache.org/repos/asf/grails-core.git
commit 6166e256296acf1bda089ca2cbf00bd51f86bac6
Author: James Daugherty <jd...@jdresources.net>
AuthorDate: Thu Apr 17 10:19:28 2025 -0400
fix - be sure the compiler script depends on the configurations so that if the path changes, it will force a rerun
---
.../main/groovy/org/grails/gradle/plugin/core/GrailsGradlePlugin.groovy | 1 +
1 file changed, 1 insertion(+)
diff --git a/grails-gradle/plugins/src/main/groovy/org/grails/gradle/plugin/core/GrailsGradlePlugin.groovy b/grails-gradle/plugins/src/main/groovy/org/grails/gradle/plugin/core/GrailsGradlePlugin.groovy
index 143d764559..3451674b1a 100644
--- a/grails-gradle/plugins/src/main/groovy/org/grails/gradle/plugin/core/GrailsGradlePlugin.groovy
+++ b/grails-gradle/plugins/src/main/groovy/org/grails/gradle/plugin/core/GrailsGradlePlugin.groovy
@@ -219,6 +219,7 @@ class GrailsGradlePlugin extends GroovyPlugin {
Provider<RegularFile> targetConfigFile = project.layout.buildDirectory.file("groovyCompilerConfiguration/${uniqueScriptName}Config.groovy")
task.outputs.file(targetConfigFile)
+ task.inputs.files(project.configurations.named('runtimeClasspath'))
task.dependsOn('cleanGroovyCompilerConfig')
task.doLast {