This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git

commit bb56cc184f12fe8e49bf4e51a400eb469c5f1a19
Author: Paul King <[email protected]>
AuthorDate: Thu Dec 5 08:30:13 2024 +1000

    minor refactor: use later gradle syntax
---
 build-logic/src/main/groovy/org.apache.groovy-distribution.gradle | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build-logic/src/main/groovy/org.apache.groovy-distribution.gradle 
b/build-logic/src/main/groovy/org.apache.groovy-distribution.gradle
index 86ef78528b..83aad2ec64 100644
--- a/build-logic/src/main/groovy/org.apache.groovy-distribution.gradle
+++ b/build-logic/src/main/groovy/org.apache.groovy-distribution.gradle
@@ -114,8 +114,8 @@ dependencies {
 def docGDK = tasks.register('docGDK', DocGDK) {
     classpath.from configurations.docgeneratorTool
     classes.set(distributionExtension.docgeneratorClasses)
-    resources.from 
projects.groovyDocgenerator.dependencyProject.file('src/main/resources/org/apache/groovy/docgenerator/groovy.ico')
-    resources.from 
projects.groovyDocgenerator.dependencyProject.file('src/main/resources/org/apache/groovy/docgenerator/stylesheet.css')
+    resources.from 
project.project(projects.groovyDocgenerator.path).file('src/main/resources/org/apache/groovy/docgenerator/groovy.ico')
+    resources.from 
project.project(projects.groovyDocgenerator.path).file('src/main/resources/org/apache/groovy/docgenerator/stylesheet.css')
 }
 
 def distBin = tasks.register('distBin', Zip) {

Reply via email to