You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by ma...@apache.org on 2026/03/27 08:40:20 UTC
(grails-core) branch 7.1.x updated (4c8e8a11d9 -> 9e5cba2a97)
This is an automated email from the ASF dual-hosted git repository.
matrei pushed a change to branch 7.1.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git
from 4c8e8a11d9 Merge pull request #15409 from jdaugherty/conditionalPluginConfiguration
add 90c408651d Fix overlapping task outputs preventing build cache usage
add fc7c9a4885 Normalize APP_BASE_DIR system property for build cache relocatability
add ffbf8adb73 Make SBOM timestamp reproducible to prevent cascading cache misses
add a5b18b27ba Stop declaring project directory as @InputDirectory on forked JVM tasks
add 5d885bfd70 Merge pull request #15532 from ribafish/fix-overlapping-task-outputs
new 9e5cba2a97 Merge branch '7.0.x' into 7.1.x
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../grails/buildsrc/GrailsCodeStylePlugin.groovy | 30 ++++++------
.../org/apache/grails/buildsrc/SbomPlugin.groovy | 12 ++++-
.../plugin/core/GrailsAppBaseDirProvider.groovy | 53 ++++++++++++++++++++++
.../gradle/plugin/core/GrailsGradlePlugin.groovy | 12 +++--
4 files changed, 87 insertions(+), 20 deletions(-)
create mode 100644 grails-gradle/plugins/src/main/groovy/org/grails/gradle/plugin/core/GrailsAppBaseDirProvider.groovy
(grails-core) 01/01: Merge branch '7.0.x' into 7.1.x
Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
matrei pushed a commit to branch 7.1.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git
commit 9e5cba2a97f7bf29486b74a98ff45f470c845d79
Merge: 4c8e8a11d9 5d885bfd70
Author: Mattias Reichel <ma...@gmail.com>
AuthorDate: Fri Mar 27 08:34:40 2026 +0100
Merge branch '7.0.x' into 7.1.x
# Conflicts:
# grails-gradle/plugins/src/main/groovy/org/grails/gradle/plugin/core/GrailsGradlePlugin.groovy
.../grails/buildsrc/GrailsCodeStylePlugin.groovy | 30 ++++++------
.../org/apache/grails/buildsrc/SbomPlugin.groovy | 12 ++++-
.../plugin/core/GrailsAppBaseDirProvider.groovy | 53 ++++++++++++++++++++++
.../gradle/plugin/core/GrailsGradlePlugin.groovy | 12 +++--
4 files changed, 87 insertions(+), 20 deletions(-)
diff --cc grails-gradle/plugins/src/main/groovy/org/grails/gradle/plugin/core/GrailsGradlePlugin.groovy
index b5e838ec30,d01eba3098..7b67fbda59
--- 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
@@@ -226,18 -223,6 +225,19 @@@ class GrailsGradlePlugin extends Groovy
c.groovyOptions.configurationScript = combinedFile
}
}
+
+ // Configure indy and log status after evaluation so user's grails { } block has been applied
++ GrailsExtension grailsExtension = project.extensions.findByType(GrailsExtension)
+ project.afterEvaluate {
+ boolean indyEnabled = grailsExtension?.indy?.getOrElse(false) ?: false
+ project.tasks.withType(GroovyCompile).configureEach { GroovyCompile c ->
+ c.groovyOptions.optimizationOptions.indy = indyEnabled
+ }
+ if (!indyEnabled) {
+ project.logger.info('Grails: Groovy invokedynamic (indy) is disabled to improve performance (see issue #15293).')
+ project.logger.info(' To enable invokedynamic: grails { indy = true } in build.gradle')
+ }
+ }
}
protected Closure<String> getGroovyCompilerScript(GroovyCompile compile, Project project) {