File tree 5 files changed +14
-30
lines changed
5 files changed +14
-30
lines changed Original file line number Diff line number Diff line change 7
7
runs-on : ubuntu-latest
8
8
steps :
9
9
- uses : actions/checkout@v2
10
- - name : Set up JDK 16
11
- uses : actions/setup-java@v1
10
+ - name : Set up JDK 17
11
+ uses : actions/setup-java@v2
12
12
with :
13
- java-version : 16
14
- server-id : github # Value of the distributionManagement/repository/id field of the pom.xml
15
- settings-path : ${{ github.workspace }} # location for the settings.xml file
13
+ java-version : 17
14
+ distribution : ' temurin'
16
15
17
16
- name : Build with Gradle
18
17
run : ./gradlew build
Original file line number Diff line number Diff line change 1
- name : Gradle Package
1
+ name : Gradle Maven Publish
2
2
3
3
on :
4
4
push :
@@ -10,12 +10,11 @@ jobs:
10
10
runs-on : ubuntu-latest
11
11
steps :
12
12
- uses : actions/checkout@v2
13
- - name : Set up JDK 16
14
- uses : actions/setup-java@v1
13
+ - name : Set up JDK 17
14
+ uses : actions/setup-java@v2
15
15
with :
16
- java-version : 16
17
- server-id : github # Value of the distributionManagement/repository/id field of the pom.xml
18
- settings-path : ${{ github.workspace }} # location for the settings.xml file
16
+ java-version : 17
17
+ distribution : ' temurin'
19
18
20
19
# The USERNAME and PASSWORD need to correspond to the credentials environment variables used in
21
20
# the publishing section of your build.gradle
Original file line number Diff line number Diff line change @@ -10,12 +10,11 @@ jobs:
10
10
runs-on : ubuntu-latest
11
11
steps :
12
12
- uses : actions/checkout@v2
13
- - name : Set up JDK 16
14
- uses : actions/setup-java@v1
13
+ - name : Set up JDK 17
14
+ uses : actions/setup-java@v2
15
15
with :
16
- java-version : 16
17
- server-id : github # Value of the distributionManagement/repository/id field of the pom.xml
18
- settings-path : ${{ github.workspace }} # location for the settings.xml file
16
+ java-version : 17
17
+ distribution : ' temurin'
19
18
20
19
- name : Build with Gradle
21
20
env :
Original file line number Diff line number Diff line change @@ -214,19 +214,6 @@ publishing {
214
214
name = " LambDynamicLights"
215
215
description = " Adds dynamic lights to the game."
216
216
}
217
-
218
- pom. withXml {
219
- def dependenciesNode = asNode(). appendNode(' dependencies' )
220
-
221
- configurations. shadow. allDependencies. each {
222
- def dependencyNode = dependenciesNode. appendNode(' dependency' )
223
-
224
- dependencyNode. appendNode(' groupId' , it. group)
225
- dependencyNode. appendNode(' artifactId' , it. name)
226
- dependencyNode. appendNode(' version' , it. version)
227
- dependencyNode. appendNode(' scope' , ' compile' )
228
- }
229
- }
230
217
}
231
218
}
232
219
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-7.2 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-7.3 -bin.zip
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
You can’t perform that action at this time.
0 commit comments