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

dixitdeepak pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new f204975850 Improved: Move REST-API dependencies from rest-api 
build.gradle to dependencies.gradle (OFBIZ-13415)
f204975850 is described below

commit f204975850687540eeb6b29b76dd77248a7c78f2
Author: Deepak Dixit <[email protected]>
AuthorDate: Tue Jun 16 11:09:32 2026 +0530

    Improved: Move REST-API dependencies from rest-api build.gradle to 
dependencies.gradle (OFBIZ-13415)
    
    Removes framework/rest-api/build.gradle and consolidates its Jersey and 
Swagger
    dependencies into the root dependencies.gradle as implementation entries, 
since
    rest-api is now a framework component rather than a plugin.
---
 dependencies.gradle             |  7 +++++++
 framework/rest-api/build.gradle | 28 ----------------------------
 2 files changed, 7 insertions(+), 28 deletions(-)

diff --git a/dependencies.gradle b/dependencies.gradle
index b890c4dac1..a0696c3c23 100644
--- a/dependencies.gradle
+++ b/dependencies.gradle
@@ -74,6 +74,13 @@ dependencies {
     implementation 'org.springframework:spring-test:6.2.18'
     implementation 'org.springframework:spring-web:6.2.18'
     implementation 'com.fasterxml.jackson.core:jackson-databind:2.21.3'
+    implementation 
'org.glassfish.jersey.containers:jersey-container-servlet:3.1.11'
+    implementation 'org.glassfish.jersey.inject:jersey-hk2:3.1.11'
+    implementation 'org.glassfish.jersey.media:jersey-media-multipart:3.1.11'
+    implementation 
'org.glassfish.jersey.media:jersey-media-json-jackson:3.1.11'
+    implementation 'io.swagger.core.v3:swagger-jaxrs2:2.2.50'
+    implementation 
'io.swagger.core.v3:swagger-jaxrs2-servlet-initializer:2.2.50'
+    implementation 'io.swagger.core.v3:swagger-annotations:2.2.50'
     implementation 'oro:oro:2.0.8'
     implementation 'wsdl4j:wsdl4j:1.6.3'
     implementation 'com.auth0:java-jwt:4.5.2'
diff --git a/framework/rest-api/build.gradle b/framework/rest-api/build.gradle
deleted file mode 100644
index d9e14704fe..0000000000
--- a/framework/rest-api/build.gradle
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-dependencies {
-    pluginLibsCompile 
'org.glassfish.jersey.containers:jersey-container-servlet:3.1.11'
-    pluginLibsCompile 'org.glassfish.jersey.inject:jersey-hk2:3.1.11'
-    pluginLibsCompile 
'org.glassfish.jersey.media:jersey-media-multipart:3.1.11'
-    pluginLibsCompile 
'org.glassfish.jersey.media:jersey-media-json-jackson:3.1.11'
-    pluginLibsCompile 'io.swagger.core.v3:swagger-jaxrs2:2.2.50'
-    pluginLibsCompile 
'io.swagger.core.v3:swagger-jaxrs2-servlet-initializer:2.2.50'
-    pluginLibsCompile 'io.swagger.core.v3:swagger-annotations:2.2.50'
-}

Reply via email to