Skip to content

Commit 655ba10

Browse files
committed
upgrade Gradle wrapper to 8.10 and shadow plugin to support Gradle/JDK version
1 parent 25d96b2 commit 655ba10

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

.github/workflows/gradle-publish.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,16 @@ jobs:
3838
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
3939
settings-path: ${{ github. workspace }} # location for the settings.xml file
4040

41-
- name: Setup Gradle 8.10
41+
- name: Setup Gradle
4242
uses: gradle/actions/setup-gradle@v5
43-
with:
44-
gradle-version: '8.10' # Quotes required to prevent YAML converting to number
43+
4544
- name: Build with Gradle
46-
run: gradle build
45+
run: ./gradlew build
4746

4847
# The USERNAME and TOKEN need to correspond to the credentials environment variables used in
4948
# the publishing section of your build.gradle
5049
- name: Publish to GitHub Packages
51-
run: gradle publish
50+
run: ./gradlew publish
5251
env:
5352
USERNAME: ${{ github.actor }}
5453
TOKEN: ${{ secrets.GITHUB_TOKEN }}

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ plugins {
99
// git commit hash in version
1010
id 'com.palantir.git-version' version "0.12.3"
1111

12-
id "com.github.johnrengelman.shadow" version "8.0.0"
12+
id "com.gradleup.shadow" version "8.3.0"
1313
}
1414

1515
shadowJar {
Lines changed: 1 addition & 1 deletion
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.0-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip
44
networkTimeout=10000
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)