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

jdaugherty pushed a commit to branch singleGroovy
in repository https://gitbox.apache.org/repos/asf/grails-core.git

commit 337bf414eb62d126fa41218887ced8b01d21ec15
Author: James Daugherty <[email protected]>
AuthorDate: Fri May 23 09:26:31 2025 -0400

    groovydoc performance
---
 gradle.properties                   | 2 +-
 gradle/docs-dependencies.gradle     | 1 -
 grails-data-docs/stage/build.gradle | 2 --
 grails-doc/build.gradle             | 2 --
 4 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/gradle.properties b/gradle.properties
index 7f7c99b50c..db98149de8 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -51,7 +51,7 @@ org.gradle.parallel=true
 org.gradle.daemon=true
 # do NOT turn on due to https://github.com/gradle/gradle/issues/9489
 #org.gradle.configureondemand=true
-org.gradle.jvmargs=-Dfile.encoding=UTF-8 -Xmx4G -XX:MaxMetaspaceSize=2G 
-XX:+UseParallelGC
+org.gradle.jvmargs=-Dfile.encoding=UTF-8 -Xmx5G -XX:MaxMetaspaceSize=2G
 
 # libraries only specific to test apps, these should not be exposed
 jbossTransactionApiVersion=2.0.0.Final
diff --git a/gradle/docs-dependencies.gradle b/gradle/docs-dependencies.gradle
index 73f5494e17..df7d1e8de4 100644
--- a/gradle/docs-dependencies.gradle
+++ b/gradle/docs-dependencies.gradle
@@ -31,7 +31,6 @@ dependencies {
     add('documentation', 'org.fusesource.jansi:jansi')
     add('documentation', 'jline:jline')
     add('documentation', 'com.github.javaparser:javaparser-core')
-    // not every project includes groovy, so include it in the documentation 
config so it can be found
     add('documentation', 'org.apache.groovy:groovy')
     add('documentation', 'org.apache.groovy:groovy-groovydoc')
     add('documentation', 'org.apache.groovy:groovy-ant')
diff --git a/grails-data-docs/stage/build.gradle 
b/grails-data-docs/stage/build.gradle
index aa4337d23c..e9c7f7354b 100644
--- a/grails-data-docs/stage/build.gradle
+++ b/grails-data-docs/stage/build.gradle
@@ -70,8 +70,6 @@ combinedGroovydoc.configure { Groovydoc task ->
     task.classpath = files(sources.collect{ SourceSet it -> 
it.compileClasspath.filter(File.&isDirectory) }.flatten().unique())
     task.destinationDir = 
project.layout.buildDirectory.dir('data-api/api').get().asFile
 
-    task.dependsOn(docProjects.collect { ":$it.name:groovydoc" })
-
     task.inputs.files(task.source)
     task.outputs.dir(task.destinationDir)
 }
diff --git a/grails-doc/build.gradle b/grails-doc/build.gradle
index 15b717c858..4272265841 100644
--- a/grails-doc/build.gradle
+++ b/grails-doc/build.gradle
@@ -92,8 +92,6 @@ combinedGroovydoc.configure { Groovydoc gdoc ->
     gdoc.classpath = files(sources.collect{ SourceSet it -> 
it.compileClasspath.filter(File.&isDirectory) }.flatten().unique())
     gdoc.destinationDir = 
project.layout.buildDirectory.dir('combined-api/api').get().asFile
 
-    gdoc.dependsOn(docProjects.collect { ":$it.name:groovydoc" })
-
     gdoc.inputs.files(gdoc.source)
     gdoc.outputs.dir(gdoc.destinationDir)
 }

Reply via email to