Skip to content

Commit a2c8ded

Browse files
committed
migrate json-simple to json
1 parent 4585f0a commit a2c8ded

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/gradle.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ jobs:
104104
git clone --branch=master https://github.com/vmware/singleton.git server
105105
cd $GITHUB_WORKSPACE/server/g11n-ws && ./gradlew build -x test
106106
find $GITHUB_WORKSPACE/server/publish/ -name 'singleton-[0~9]*.jar' -exec mv '{}' $GITHUB_WORKSPACE/server/publish/singleton.jar \;
107-
- uses: actions/upload-artifact@v2
107+
- uses: actions/upload-artifact@v4
108108
with:
109109
name: singleton-service
110110
path: ./server/publish/singleton.jar

build.gradle

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019-2021 VMware, Inc.
2+
* Copyright 2019-2025 VMware, Inc.
33
* SPDX-License-Identifier: EPL-2.0
44
*/
55
apply plugin: 'java'
@@ -37,9 +37,7 @@ dependencies {
3737
compile group: 'javax.servlet.jsp', name: 'javax.servlet.jsp-api', version: '2.3.1'
3838
compile group: 'javax.servlet', name: 'javax.servlet-api', version: '3.1.0'
3939
compile group: 'org.apache.taglibs', name: 'taglibs-standard-impl', version: '1.2.5'
40-
compile("com.googlecode.json-simple:json-simple:1.1.1") {
41-
exclude group: 'junit'
42-
}
40+
compile group: 'org.json', name: 'json', version: '20250107'
4341
compile group: 'com.vmware.singleton', name: 'singleton-i18n-patterns-core', version: '[0.5.1,)'
4442
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.30'
4543
testCompile group: 'org.slf4j', name: 'slf4j-log4j12', version: '1.7.30'

0 commit comments

Comments
 (0)