You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by ma...@apache.org on 2025/11/13 09:12:01 UTC

(grails-core) branch java-library created (now d54a68b6e8)

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

matrei pushed a change to branch java-library
in repository https://gitbox.apache.org/repos/asf/grails-core.git


      at d54a68b6e8 chore: cleanup

This branch includes the following new commits:

     new b09cfa4183 fix: apply java-library plugin to Grails Plugin projects
     new d54a68b6e8 chore: cleanup

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(grails-core) 01/02: fix: apply java-library plugin to Grails Plugin projects

Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit b09cfa41832cddec1319eefac1d616b06b283d0f
Author: Mattias Reichel <ma...@gmail.com>
AuthorDate: Thu Nov 13 09:58:56 2025 +0100

    fix: apply java-library plugin to Grails Plugin projects
    
    Grails plugins are Java libraries and should have access
    to the `api` dependency configuration by default.
---
 .../org/grails/gradle/plugin/core/GrailsPluginGradlePlugin.groovy       | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/grails-gradle/plugins/src/main/groovy/org/grails/gradle/plugin/core/GrailsPluginGradlePlugin.groovy b/grails-gradle/plugins/src/main/groovy/org/grails/gradle/plugin/core/GrailsPluginGradlePlugin.groovy
index 8dbd77bc80..940ac12745 100644
--- a/grails-gradle/plugins/src/main/groovy/org/grails/gradle/plugin/core/GrailsPluginGradlePlugin.groovy
+++ b/grails-gradle/plugins/src/main/groovy/org/grails/gradle/plugin/core/GrailsPluginGradlePlugin.groovy
@@ -60,6 +60,8 @@ class GrailsPluginGradlePlugin extends GrailsGradlePlugin {
     void apply(Project project) {
         super.apply(project)
 
+        project.pluginManager.apply('java-library')
+
         checkForConfigurationClash(project)
 
         configureAstSources(project)


(grails-core) 02/02: chore: cleanup

Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit d54a68b6e872c2ef7ceba804074cda4a361ab62b
Author: Mattias Reichel <ma...@gmail.com>
AuthorDate: Thu Nov 13 09:59:30 2025 +0100

    chore: cleanup
---
 .../org/grails/gradle/plugin/core/GrailsPluginGradlePlugin.groovy    | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/grails-gradle/plugins/src/main/groovy/org/grails/gradle/plugin/core/GrailsPluginGradlePlugin.groovy b/grails-gradle/plugins/src/main/groovy/org/grails/gradle/plugin/core/GrailsPluginGradlePlugin.groovy
index 940ac12745..a25b9c33af 100644
--- a/grails-gradle/plugins/src/main/groovy/org/grails/gradle/plugin/core/GrailsPluginGradlePlugin.groovy
+++ b/grails-gradle/plugins/src/main/groovy/org/grails/gradle/plugin/core/GrailsPluginGradlePlugin.groovy
@@ -63,15 +63,10 @@ class GrailsPluginGradlePlugin extends GrailsGradlePlugin {
         project.pluginManager.apply('java-library')
 
         checkForConfigurationClash(project)
-
         configureAstSources(project)
-
         configureAssembleTask(project)
-
         configurePluginResources(project)
-
         configureJarTask(project)
-
         configureSourcesJarTask(project)
     }