Skip to content

Commit d76a580

Browse files
authored
upgrade gradle and dependencies (#1579)
Signed-off-by: Bala.FA <[email protected]>
1 parent fd5192f commit d76a580

File tree

5 files changed

+30
-30
lines changed

5 files changed

+30
-30
lines changed

.github/workflows/codeql-analysis.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ jobs:
3939

4040
steps:
4141
- name: Checkout repository
42-
uses: actions/checkout@v3
42+
uses: actions/checkout@v4
4343

4444
# Initializes the CodeQL tools for scanning.
4545
- name: Initialize CodeQL
46-
uses: github/codeql-action/init@v2
46+
uses: github/codeql-action/init@v3
4747
with:
4848
languages: ${{ matrix.language }}
4949
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -54,7 +54,7 @@ jobs:
5454
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5555
# If this step fails, then you should remove it and run the build manually (see below)
5656
- name: Autobuild
57-
uses: github/codeql-action/autobuild@v2
57+
uses: github/codeql-action/autobuild@v3
5858

5959
# ℹ️ Command-line programs to run using the OS shell.
6060
# 📚 https://git.io/JvXDl
@@ -68,4 +68,4 @@ jobs:
6868
# make release
6969

7070
- name: Perform CodeQL Analysis
71-
uses: github/codeql-action/analyze@v2
71+
uses: github/codeql-action/analyze@v3

.github/workflows/gradle.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
os: [ubuntu-latest, windows-latest]
1919

2020
steps:
21-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v4
2222
- name: Check limited Guava usage
2323
if: matrix.os == 'ubuntu-latest'
2424
run: |
@@ -27,7 +27,7 @@ jobs:
2727
exit 1
2828
fi
2929
- name: Setup java ${{ matrix.java-version }}
30-
uses: actions/setup-java@v3
30+
uses: actions/setup-java@v4
3131
with:
3232
distribution: temurin
3333
java-version: ${{ matrix.java-version }}

build.gradle

+13-13
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
* limitations under the License.
1515
*/
1616

17-
/*****************************/
18-
/* gradleVersion = '8.6' */
19-
/*****************************/
17+
/********************************/
18+
/* gradleVersion = '8.10.2' */
19+
/********************************/
2020

2121
plugins {
2222
id "com.github.johnrengelman.shadow" version "8.1.1"
@@ -52,16 +52,16 @@ subprojects {
5252

5353
dependencies {
5454
api "com.carrotsearch.thirdparty:simple-xml-safe:2.7.1"
55-
api "com.google.guava:guava:33.0.0-jre"
55+
api "com.google.guava:guava:33.3.1-jre"
5656
api "com.squareup.okhttp3:okhttp:4.12.0"
57-
api "com.fasterxml.jackson.core:jackson-annotations:2.16.1"
58-
api "com.fasterxml.jackson.core:jackson-core:2.16.1"
59-
api "com.fasterxml.jackson.core:jackson-databind:2.16.1"
60-
api "org.bouncycastle:bcprov-jdk18on:1.78"
61-
api "org.apache.commons:commons-compress:1.26.0"
62-
api "commons-codec:commons-codec:1.16.1"
63-
api "org.xerial.snappy:snappy-java:1.1.10.5"
64-
compileOnly "com.github.spotbugs:spotbugs-annotations:4.8.3"
57+
api "com.fasterxml.jackson.core:jackson-annotations:2.18.0"
58+
api "com.fasterxml.jackson.core:jackson-core:2.18.0"
59+
api "com.fasterxml.jackson.core:jackson-databind:2.18.0"
60+
api "org.bouncycastle:bcprov-jdk18on:1.78.1"
61+
api "org.apache.commons:commons-compress:1.27.1"
62+
api "commons-codec:commons-codec:1.17.1"
63+
api "org.xerial.snappy:snappy-java:1.1.10.7"
64+
compileOnly "com.github.spotbugs:spotbugs-annotations:4.8.6"
6565

6666
testImplementation "com.squareup.okhttp3:mockwebserver:4.12.0"
6767
testImplementation "junit:junit:4.13.2"
@@ -243,7 +243,7 @@ project(':adminapi') {
243243

244244
dependencies {
245245
api project(':api')
246-
api "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.16.1"
246+
api "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.18.0"
247247
testImplementation project(':api')
248248
}
249249

gradle/wrapper/gradle-wrapper.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew.bat

+10-10
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ set JAVA_EXE=java.exe
4343
%JAVA_EXE% -version >NUL 2>&1
4444
if %ERRORLEVEL% equ 0 goto execute
4545

46-
echo.
47-
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
48-
echo.
49-
echo Please set the JAVA_HOME variable in your environment to match the
50-
echo location of your Java installation.
46+
echo. 1>&2
47+
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
48+
echo. 1>&2
49+
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
50+
echo location of your Java installation. 1>&2
5151

5252
goto fail
5353

@@ -57,11 +57,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
5757

5858
if exist "%JAVA_EXE%" goto execute
5959

60-
echo.
61-
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
62-
echo.
63-
echo Please set the JAVA_HOME variable in your environment to match the
64-
echo location of your Java installation.
60+
echo. 1>&2
61+
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
62+
echo. 1>&2
63+
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
64+
echo location of your Java installation. 1>&2
6565

6666
goto fail
6767

0 commit comments

Comments
 (0)