From 94c0db4edca7d24347b758f2f3950960467eb756 Mon Sep 17 00:00:00 2001 From: James Daugherty Date: Tue, 25 Nov 2025 14:51:59 -0500 Subject: [PATCH] fix - adopt provider syntax for pomCustomization --- .../main/groovy/org/apache/grails/buildsrc/PublishPlugin.groovy | 2 +- dependencies.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build-logic/plugins/src/main/groovy/org/apache/grails/buildsrc/PublishPlugin.groovy b/build-logic/plugins/src/main/groovy/org/apache/grails/buildsrc/PublishPlugin.groovy index 492b2f18aa2..d232429db0c 100644 --- a/build-logic/plugins/src/main/groovy/org/apache/grails/buildsrc/PublishPlugin.groovy +++ b/build-logic/plugins/src/main/groovy/org/apache/grails/buildsrc/PublishPlugin.groovy @@ -183,7 +183,7 @@ class PublishPlugin implements Plugin { it.url.set('https://apache.org/') } it.developers.set(project.provider { lookupProperty(project, 'pomDevelopers', determineDevelopers(project))}) - it.pomCustomization = lookupProperty(project, 'pomCustomization') as Closure + it.pomCustomization.set(project.provider { lookupProperty(project, 'pomCustomization') as Closure }) it.publishTestSources.set(project.provider { lookupProperty(project, 'pomPublishTestSources', false)}) it.testRepositoryPath.set(project.provider { shouldSkipJavaComponent(project) ? null : findRootGrailsCoreDir(project).dir('build/local-maven')}) it.publicationName.set(project.provider { lookupProperty(project, 'pomMavenPublicationName', 'maven')}) diff --git a/dependencies.gradle b/dependencies.gradle index 49f6657ab70..e5bd0aa9649 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -30,7 +30,7 @@ ext { 'commons-text.version' : '1.13.1', 'directory-watcher.version' : '0.19.1', 'gradle-spock.version' : '2.3-groovy-3.0', - 'grails-publish-plugin.version' : '0.0.2', + 'grails-publish-plugin.version' : '0.0.3-SNAPSHOT', 'jansi.version' : '1.18', 'javaparser-core.version' : '3.27.0', 'jline.version' : '2.14.6',