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
The following commit(s) were added to refs/heads/master by this push:
new dd9b1324d8 minor refactor: use changed gradle syntax
dd9b1324d8 is described below
commit dd9b1324d877153d4c34174b6f0beb2e4a50f3c4
Author: Paul King <[email protected]>
AuthorDate: Thu Sep 25 17:11:00 2025 +1000
minor refactor: use changed gradle syntax
---
build-logic/src/main/groovy/org.apache.groovy-core.gradle | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/build-logic/src/main/groovy/org.apache.groovy-core.gradle
b/build-logic/src/main/groovy/org.apache.groovy-core.gradle
index f825a59371..ca21968a79 100644
--- a/build-logic/src/main/groovy/org.apache.groovy-core.gradle
+++ b/build-logic/src/main/groovy/org.apache.groovy-core.gradle
@@ -197,7 +197,8 @@ def generateGrammarSourceTask =
tasks.named("generateGrammarSource") {
outputDirectory =
layout.buildDirectory.dir("generated/sources/antlr4").get().asFile
final PARSER_PACKAGE_NAME = 'org.apache.groovy.parser.antlr4'
- arguments += ["-visitor", "-no-listener", "-package", PARSER_PACKAGE_NAME]
+ packageName = PARSER_PACKAGE_NAME
+ arguments += ["-visitor", "-no-listener"]
doLast {
def parserFilePattern = 'Groovy*'