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

(grails-core) branch remove-webjars-locator-core-dep created (now d73c03b464)

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

jamesfredley pushed a change to branch remove-webjars-locator-core-dep
in repository https://gitbox.apache.org/repos/asf/grails-core.git


      at d73c03b464 webjars-locator-core dependency is now provided implicitly by asset-pipeline

This branch includes the following new commits:

     new d73c03b464 webjars-locator-core dependency is now provided implicitly by asset-pipeline

The 1 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/01: webjars-locator-core dependency is now provided implicitly by asset-pipeline

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

jamesfredley pushed a commit to branch remove-webjars-locator-core-dep
in repository https://gitbox.apache.org/repos/asf/grails-core.git

commit d73c03b464c6ac4a3c9e2d8226bbafd92164fe5a
Author: James Fredley <ja...@users.noreply.github.com>
AuthorDate: Wed Nov 26 18:32:55 2025 -0500

    webjars-locator-core dependency is now provided implicitly by asset-pipeline
    
    Eliminates the explicit 'org.webjars:webjars-locator-core' dependency from multiple build.gradle files, documentation, profile configuration, and asset pipeline feature.
---
 grails-data-neo4j/examples/grails3-neo4j-hibernate/build.gradle      | 1 -
 grails-data-neo4j/examples/grails3-neo4j/build.gradle                | 1 -
 grails-dependencies/assets/build.gradle                              | 1 -
 .../src/en/guide/commandLine/gradleBuild/gradleDependencies.adoc     | 1 -
 .../java/org/grails/forge/feature/assetPipeline/AssetPipeline.java   | 5 -----
 grails-profiles/web/profile.yml                                      | 2 --
 grails-test-examples/app1/build.gradle                               | 2 +-
 grails-test-examples/app2/build.gradle                               | 1 -
 grails-test-examples/demo33/build.gradle                             | 1 -
 grails-test-examples/geb-gebconfig/build.gradle                      | 1 -
 grails-test-examples/geb/build.gradle                                | 1 -
 grails-test-examples/gsp-layout/build.gradle                         | 1 -
 grails-test-examples/gsp-sitemesh3/build.gradle                      | 1 -
 .../hibernate5/grails-database-per-tenant/build.gradle               | 1 -
 grails-test-examples/hibernate5/grails-hibernate/build.gradle        | 1 -
 .../hibernate5/grails-partitioned-multi-tenancy/build.gradle         | 1 -
 .../hibernate5/grails-schema-per-tenant/build.gradle                 | 1 -
 grails-test-examples/hibernate5/issue450/build.gradle                | 1 -
 grails-test-examples/hyphenated/build.gradle                         | 1 -
 grails-test-examples/issue-11102/build.gradle                        | 1 -
 grails-test-examples/mongodb/base/build.gradle                       | 1 -
 grails-test-examples/mongodb/database-per-tenant/build.gradle        | 1 -
 grails-test-examples/mongodb/gson-templates/build.gradle             | 1 -
 grails-test-examples/mongodb/hibernate5/build.gradle                 | 1 -
 grails-test-examples/namespaces/build.gradle                         | 1 -
 grails-test-examples/scaffolding/build.gradle                        | 1 -
 grails-test-examples/views-functional-tests/build.gradle             | 3 +--
 27 files changed, 2 insertions(+), 33 deletions(-)

diff --git a/grails-data-neo4j/examples/grails3-neo4j-hibernate/build.gradle b/grails-data-neo4j/examples/grails3-neo4j-hibernate/build.gradle
index ec2efb6440..03b536532b 100644
--- a/grails-data-neo4j/examples/grails3-neo4j-hibernate/build.gradle
+++ b/grails-data-neo4j/examples/grails3-neo4j-hibernate/build.gradle
@@ -33,7 +33,6 @@ dependencies {
     implementation "org.apache.grails:grails-data-hibernate5:$hibernateDatastoreVersion"
     implementation "org.hibernate:hibernate-ehcache:$hibernateEhcacheVersion"
 
-    implementation 'org.webjars:webjars-locator-core'
     testAndDevelopmentOnly platform(project(':grails-bom'))
     testAndDevelopmentOnly 'org.webjars.npm:jquery'
 
diff --git a/grails-data-neo4j/examples/grails3-neo4j/build.gradle b/grails-data-neo4j/examples/grails3-neo4j/build.gradle
index b98588e594..5422177ef4 100644
--- a/grails-data-neo4j/examples/grails3-neo4j/build.gradle
+++ b/grails-data-neo4j/examples/grails3-neo4j/build.gradle
@@ -30,7 +30,6 @@ dependencies {
 
     implementation project(":grails-plugin")
 
-    implementation 'org.webjars:webjars-locator-core'
     testAndDevelopmentOnly platform(project(':grails-bom'))
     testAndDevelopmentOnly 'org.webjars.npm:jquery'
 
diff --git a/grails-dependencies/assets/build.gradle b/grails-dependencies/assets/build.gradle
index 4a752e7ead..49478435cf 100644
--- a/grails-dependencies/assets/build.gradle
+++ b/grails-dependencies/assets/build.gradle
@@ -36,7 +36,6 @@ def configurations = [
                 'org.webjars.npm:bootstrap',
                 'org.webjars.npm:bootstrap-icons',
                 'org.webjars.npm:jquery',
-                'org.webjars:webjars-locator-core',
         ]
 ]
 
diff --git a/grails-doc/src/en/guide/commandLine/gradleBuild/gradleDependencies.adoc b/grails-doc/src/en/guide/commandLine/gradleBuild/gradleDependencies.adoc
index 2365bb16e0..eb526f4ab2 100644
--- a/grails-doc/src/en/guide/commandLine/gradleBuild/gradleDependencies.adoc
+++ b/grails-doc/src/en/guide/commandLine/gradleBuild/gradleDependencies.adoc
@@ -28,7 +28,6 @@ dependencies {
     testAndDevelopmentOnly "org.webjars.npm:bootstrap"
     testAndDevelopmentOnly "org.webjars.npm:bootstrap-icons"
     testAndDevelopmentOnly "org.webjars.npm:jquery"
-    implementation 'org.webjars:webjars-locator-core'
     implementation platform("org.apache.grails:grails-bom:$grailsVersion")
     implementation "org.apache.grails:grails-core"
     implementation "org.apache.grails:grails-logging"
diff --git a/grails-forge/grails-forge-core/src/main/java/org/grails/forge/feature/assetPipeline/AssetPipeline.java b/grails-forge/grails-forge-core/src/main/java/org/grails/forge/feature/assetPipeline/AssetPipeline.java
index ecf02f26b6..f84e11bb74 100644
--- a/grails-forge/grails-forge-core/src/main/java/org/grails/forge/feature/assetPipeline/AssetPipeline.java
+++ b/grails-forge/grails-forge-core/src/main/java/org/grails/forge/feature/assetPipeline/AssetPipeline.java
@@ -76,11 +76,6 @@ public class AssetPipeline implements DefaultFeature {
                 .artifactId("asset-pipeline-grails")
                 .runtimeOnly());
 
-        generatorContext.addDependency(Dependency.builder()
-                .groupId("org.webjars")
-                .artifactId("webjars-locator-core")
-                .implementation());
-
         generatorContext.addDependency(Dependency.builder()
                 .groupId("org.webjars.npm")
                 .artifactId("bootstrap")
diff --git a/grails-profiles/web/profile.yml b/grails-profiles/web/profile.yml
index e1e7d59db2..bc8d2f0d97 100644
--- a/grails-profiles/web/profile.yml
+++ b/grails-profiles/web/profile.yml
@@ -51,8 +51,6 @@ dependencies:
       coords: "org.apache.grails:grails-scaffolding"
     - scope: testImplementation
       coords: "org.apache.grails:grails-testing-support-web"
-    - scope: implementation
-      coords: "org.webjars:webjars-locator-core"
     - scope: testAndDevelopmentOnly
       coords: "org.webjars.npm:bootstrap"
     - scope: testAndDevelopmentOnly
diff --git a/grails-test-examples/app1/build.gradle b/grails-test-examples/app1/build.gradle
index 7b1a11f56e..6efbbef462 100644
--- a/grails-test-examples/app1/build.gradle
+++ b/grails-test-examples/app1/build.gradle
@@ -44,7 +44,7 @@ dependencies {
     implementation 'org.apache.grails:grails-cache'
     implementation 'org.apache.grails:grails-scaffolding'
 
-    implementation 'org.webjars:webjars-locator-core'
+
     testAndDevelopmentOnly platform(project(':grails-bom'))
     testAndDevelopmentOnly 'org.webjars.npm:jquery'
 
diff --git a/grails-test-examples/app2/build.gradle b/grails-test-examples/app2/build.gradle
index aaf880e2ca..7a5feb91bf 100644
--- a/grails-test-examples/app2/build.gradle
+++ b/grails-test-examples/app2/build.gradle
@@ -44,7 +44,6 @@ dependencies {
     implementation 'org.apache.grails:grails-data-hibernate5'
     implementation 'org.apache.grails:grails-cache'
 
-    implementation 'org.webjars:webjars-locator-core'
     testAndDevelopmentOnly platform(project(':grails-bom'))
     testAndDevelopmentOnly 'org.webjars.npm:jquery'
 
diff --git a/grails-test-examples/demo33/build.gradle b/grails-test-examples/demo33/build.gradle
index eb62e4448d..0d95401e40 100644
--- a/grails-test-examples/demo33/build.gradle
+++ b/grails-test-examples/demo33/build.gradle
@@ -49,7 +49,6 @@ dependencies {
     implementation 'org.apache.grails:grails-data-hibernate5'
     implementation 'org.apache.grails:grails-views-gson'
 
-    implementation 'org.webjars:webjars-locator-core'
     testAndDevelopmentOnly platform(project(':grails-bom'))
     testAndDevelopmentOnly 'org.webjars.npm:bootstrap'
     testAndDevelopmentOnly 'org.webjars.npm:jquery'
diff --git a/grails-test-examples/geb-gebconfig/build.gradle b/grails-test-examples/geb-gebconfig/build.gradle
index 1b643606ce..be441fb3c6 100644
--- a/grails-test-examples/geb-gebconfig/build.gradle
+++ b/grails-test-examples/geb-gebconfig/build.gradle
@@ -53,7 +53,6 @@ dependencies {
     implementation 'org.springframework.boot:spring-boot-starter-tomcat'
     implementation 'org.springframework.boot:spring-boot-starter-validation'
 
-    implementation 'org.webjars:webjars-locator-core'
     testAndDevelopmentOnly platform(project(':grails-bom'))
     testAndDevelopmentOnly 'org.webjars.npm:bootstrap'
     testAndDevelopmentOnly 'org.webjars.npm:jquery'
diff --git a/grails-test-examples/geb/build.gradle b/grails-test-examples/geb/build.gradle
index e447d20d9a..3f690769c8 100644
--- a/grails-test-examples/geb/build.gradle
+++ b/grails-test-examples/geb/build.gradle
@@ -53,7 +53,6 @@ dependencies {
     implementation 'org.springframework.boot:spring-boot-starter-tomcat'
     implementation 'org.springframework.boot:spring-boot-starter-validation'
 
-    implementation 'org.webjars:webjars-locator-core'
     testAndDevelopmentOnly platform(project(':grails-bom'))
     testAndDevelopmentOnly 'org.webjars.npm:bootstrap'
     testAndDevelopmentOnly 'org.webjars.npm:jquery'
diff --git a/grails-test-examples/gsp-layout/build.gradle b/grails-test-examples/gsp-layout/build.gradle
index 77961faf3a..d7a20e94e8 100644
--- a/grails-test-examples/gsp-layout/build.gradle
+++ b/grails-test-examples/gsp-layout/build.gradle
@@ -36,7 +36,6 @@ dependencies {
     implementation 'org.apache.grails:grails-controllers'
     implementation 'org.apache.grails:grails-rest-transforms'
 
-    implementation 'org.webjars:webjars-locator-core'
     testAndDevelopmentOnly platform(project(':grails-bom'))
     testAndDevelopmentOnly 'org.webjars.npm:bootstrap'
     testAndDevelopmentOnly 'org.webjars.npm:jquery'
diff --git a/grails-test-examples/gsp-sitemesh3/build.gradle b/grails-test-examples/gsp-sitemesh3/build.gradle
index a5ec3ab6fd..73e0e7cef2 100644
--- a/grails-test-examples/gsp-sitemesh3/build.gradle
+++ b/grails-test-examples/gsp-sitemesh3/build.gradle
@@ -37,7 +37,6 @@ dependencies {
     implementation 'org.apache.grails:grails-rest-transforms'
     implementation 'org.apache.grails:grails-sitemesh3'
 
-    implementation 'org.webjars:webjars-locator-core'
     testAndDevelopmentOnly platform(project(':grails-bom'))
     testAndDevelopmentOnly 'org.webjars.npm:bootstrap'
     testAndDevelopmentOnly 'org.webjars.npm:jquery'
diff --git a/grails-test-examples/hibernate5/grails-database-per-tenant/build.gradle b/grails-test-examples/hibernate5/grails-database-per-tenant/build.gradle
index 678b4ae112..b7d149a2b1 100644
--- a/grails-test-examples/hibernate5/grails-database-per-tenant/build.gradle
+++ b/grails-test-examples/hibernate5/grails-database-per-tenant/build.gradle
@@ -40,7 +40,6 @@ dependencies {
         implementation 'org.apache.grails:grails-layout'
     }
 
-    implementation 'org.webjars:webjars-locator-core'
     testAndDevelopmentOnly platform(project(':grails-bom'))
     testAndDevelopmentOnly 'org.webjars.npm:jquery'
 
diff --git a/grails-test-examples/hibernate5/grails-hibernate/build.gradle b/grails-test-examples/hibernate5/grails-hibernate/build.gradle
index a4aa1c1c18..cb8ed23476 100644
--- a/grails-test-examples/hibernate5/grails-hibernate/build.gradle
+++ b/grails-test-examples/hibernate5/grails-hibernate/build.gradle
@@ -42,7 +42,6 @@ dependencies {
         implementation 'org.apache.grails:grails-layout'
     }
 
-    implementation 'org.webjars:webjars-locator-core'
     testAndDevelopmentOnly platform(project(':grails-bom'))
     testAndDevelopmentOnly 'org.webjars.npm:jquery'
 
diff --git a/grails-test-examples/hibernate5/grails-partitioned-multi-tenancy/build.gradle b/grails-test-examples/hibernate5/grails-partitioned-multi-tenancy/build.gradle
index 5b373119fd..2d0f12d7a0 100644
--- a/grails-test-examples/hibernate5/grails-partitioned-multi-tenancy/build.gradle
+++ b/grails-test-examples/hibernate5/grails-partitioned-multi-tenancy/build.gradle
@@ -40,7 +40,6 @@ dependencies {
         implementation 'org.apache.grails:grails-layout'
     }
 
-    implementation 'org.webjars:webjars-locator-core'
     testAndDevelopmentOnly platform(project(':grails-bom'))
     testAndDevelopmentOnly 'org.webjars.npm:jquery'
 
diff --git a/grails-test-examples/hibernate5/grails-schema-per-tenant/build.gradle b/grails-test-examples/hibernate5/grails-schema-per-tenant/build.gradle
index 4d7c6867c2..cf033f116a 100644
--- a/grails-test-examples/hibernate5/grails-schema-per-tenant/build.gradle
+++ b/grails-test-examples/hibernate5/grails-schema-per-tenant/build.gradle
@@ -40,7 +40,6 @@ dependencies {
         implementation 'org.apache.grails:grails-layout'
     }
 
-    implementation 'org.webjars:webjars-locator-core'
     testAndDevelopmentOnly platform(project(':grails-bom'))
     testAndDevelopmentOnly 'org.webjars.npm:jquery'
 
diff --git a/grails-test-examples/hibernate5/issue450/build.gradle b/grails-test-examples/hibernate5/issue450/build.gradle
index c772a7a70a..fe533af8fd 100644
--- a/grails-test-examples/hibernate5/issue450/build.gradle
+++ b/grails-test-examples/hibernate5/issue450/build.gradle
@@ -40,7 +40,6 @@ dependencies {
         implementation 'org.apache.grails:grails-layout'
     }
 
-    implementation 'org.webjars:webjars-locator-core'
     testAndDevelopmentOnly platform(project(':grails-bom'))
     testAndDevelopmentOnly 'org.webjars.npm:bootstrap'
     testAndDevelopmentOnly 'org.webjars.npm:jquery'
diff --git a/grails-test-examples/hyphenated/build.gradle b/grails-test-examples/hyphenated/build.gradle
index 62eb64f538..da6155da42 100644
--- a/grails-test-examples/hyphenated/build.gradle
+++ b/grails-test-examples/hyphenated/build.gradle
@@ -42,7 +42,6 @@ dependencies {
 
     implementation 'org.apache.grails:grails-data-hibernate5'
 
-    implementation 'org.webjars:webjars-locator-core'
     testAndDevelopmentOnly platform(project(':grails-bom'))
     testAndDevelopmentOnly 'org.webjars.npm:jquery'
 
diff --git a/grails-test-examples/issue-11102/build.gradle b/grails-test-examples/issue-11102/build.gradle
index a254e194ee..58b5b23601 100644
--- a/grails-test-examples/issue-11102/build.gradle
+++ b/grails-test-examples/issue-11102/build.gradle
@@ -55,7 +55,6 @@ dependencies {
     implementation 'org.apache.grails:grails-events'
     implementation 'org.apache.grails:grails-gsp'
 
-    implementation 'org.webjars:webjars-locator-core'
     testAndDevelopmentOnly platform(project(':grails-bom'))
     testAndDevelopmentOnly 'org.webjars.npm:bootstrap'
     testAndDevelopmentOnly 'org.webjars.npm:jquery'
diff --git a/grails-test-examples/mongodb/base/build.gradle b/grails-test-examples/mongodb/base/build.gradle
index 60c7246d2e..d62ce74c20 100644
--- a/grails-test-examples/mongodb/base/build.gradle
+++ b/grails-test-examples/mongodb/base/build.gradle
@@ -40,7 +40,6 @@ dependencies {
     }
     implementation 'org.apache.grails:grails-gsp'
 
-    implementation 'org.webjars:webjars-locator-core'
     testAndDevelopmentOnly platform(project(':grails-bom'))
     testAndDevelopmentOnly 'org.webjars.npm:jquery'
 
diff --git a/grails-test-examples/mongodb/database-per-tenant/build.gradle b/grails-test-examples/mongodb/database-per-tenant/build.gradle
index e84a0a75d4..33b04f897b 100644
--- a/grails-test-examples/mongodb/database-per-tenant/build.gradle
+++ b/grails-test-examples/mongodb/database-per-tenant/build.gradle
@@ -40,7 +40,6 @@ dependencies {
         implementation 'org.apache.grails:grails-layout'
     }
 
-    implementation 'org.webjars:webjars-locator-core'
     testAndDevelopmentOnly platform(project(':grails-bom'))
     testAndDevelopmentOnly 'org.webjars.npm:jquery'
 
diff --git a/grails-test-examples/mongodb/gson-templates/build.gradle b/grails-test-examples/mongodb/gson-templates/build.gradle
index 35ea201452..4e9e1d36fd 100644
--- a/grails-test-examples/mongodb/gson-templates/build.gradle
+++ b/grails-test-examples/mongodb/gson-templates/build.gradle
@@ -43,7 +43,6 @@ dependencies {
     implementation 'org.apache.grails:grails-url-mappings'
     implementation 'org.apache.grails.data:grails-data-mongodb-core'
 
-    implementation 'org.webjars:webjars-locator-core'
     testAndDevelopmentOnly platform(project(':grails-bom'))
     testAndDevelopmentOnly 'org.webjars.npm:jquery'
 
diff --git a/grails-test-examples/mongodb/hibernate5/build.gradle b/grails-test-examples/mongodb/hibernate5/build.gradle
index 81bd0ef41b..9f47b34976 100644
--- a/grails-test-examples/mongodb/hibernate5/build.gradle
+++ b/grails-test-examples/mongodb/hibernate5/build.gradle
@@ -41,7 +41,6 @@ dependencies {
     }
     implementation 'org.apache.grails:grails-data-hibernate5'
 
-    implementation 'org.webjars:webjars-locator-core'
     testAndDevelopmentOnly platform(project(':grails-bom'))
     testAndDevelopmentOnly 'org.webjars.npm:jquery'
 
diff --git a/grails-test-examples/namespaces/build.gradle b/grails-test-examples/namespaces/build.gradle
index 03556445f2..75c009c842 100644
--- a/grails-test-examples/namespaces/build.gradle
+++ b/grails-test-examples/namespaces/build.gradle
@@ -43,7 +43,6 @@ dependencies {
     implementation 'org.apache.grails:grails-data-hibernate5'
     implementation 'org.apache.grails:grails-cache'
 
-    implementation 'org.webjars:webjars-locator-core'
     testAndDevelopmentOnly platform(project(':grails-bom'))
     testAndDevelopmentOnly 'org.webjars.npm:jquery'
 
diff --git a/grails-test-examples/scaffolding/build.gradle b/grails-test-examples/scaffolding/build.gradle
index 6b5119a181..a45c4960b1 100644
--- a/grails-test-examples/scaffolding/build.gradle
+++ b/grails-test-examples/scaffolding/build.gradle
@@ -49,7 +49,6 @@ dependencies {
     implementation "org.apache.grails:grails-scaffolding"
     implementation "org.apache.grails:grails-data-hibernate5"
     implementation "org.apache.grails:grails-gsp"
-    implementation 'org.webjars:webjars-locator-core'
     integrationTestImplementation testFixtures("org.apache.grails:grails-geb")
     profile "org.apache.grails.profiles:web"
     runtimeOnly "org.fusesource.jansi:jansi"
diff --git a/grails-test-examples/views-functional-tests/build.gradle b/grails-test-examples/views-functional-tests/build.gradle
index c010aebdc8..ba188882fb 100644
--- a/grails-test-examples/views-functional-tests/build.gradle
+++ b/grails-test-examples/views-functional-tests/build.gradle
@@ -58,8 +58,7 @@ dependencies {
     implementation 'org.springframework.boot:spring-boot-autoconfigure'
     implementation 'org.springframework.boot:spring-boot-starter-logging'
     implementation 'org.springframework.boot:spring-boot-starter-tomcat'
-
-    implementation 'org.webjars:webjars-locator-core'
+    
     testAndDevelopmentOnly platform(project(':grails-bom'))
     testAndDevelopmentOnly 'org.webjars.npm:jquery'