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/08/13 03:06:07 UTC
(incubator-grails-gradle-publish) branch 7.0.x updated: fix: switch pomCustomization to take an argument of xml and the pom as the delegate
This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/incubator-grails-gradle-publish.git
The following commit(s) were added to refs/heads/7.0.x by this push:
new a51efc9 fix: switch pomCustomization to take an argument of xml and the pom as the delegate
a51efc9 is described below
commit a51efc92457711f284cb7dc04ca578efbb497aca
Author: James Daugherty <jd...@jdresources.net>
AuthorDate: Tue Aug 12 23:05:53 2025 -0400
fix: switch pomCustomization to take an argument of xml and the pom as the delegate
---
.../org/apache/grails/gradle/publish/GrailsPublishGradlePlugin.groovy | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugin/src/main/groovy/org/apache/grails/gradle/publish/GrailsPublishGradlePlugin.groovy b/plugin/src/main/groovy/org/apache/grails/gradle/publish/GrailsPublishGradlePlugin.groovy
index fac1e0f..19e6ae5 100644
--- a/plugin/src/main/groovy/org/apache/grails/gradle/publish/GrailsPublishGradlePlugin.groovy
+++ b/plugin/src/main/groovy/org/apache/grails/gradle/publish/GrailsPublishGradlePlugin.groovy
@@ -393,9 +393,9 @@ Note: if project properties are used, the properties must be defined prior to ap
}
if (gpe.pomCustomization) {
- gpe.pomCustomization.delegate = xml
+ gpe.pomCustomization.delegate = pom
gpe.pomCustomization.resolveStrategy = Closure.DELEGATE_FIRST
- gpe.pomCustomization.call()
+ gpe.pomCustomization.call(xml)
}
// fix dependencies without a version, this can occur when the spring dependency management plugin is used