File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ jobs:
1313 with :
1414 ref : master
1515 fetch-depth : 0
16- - name : Set up JDK 8
16+ - name : Set up JDK 17
1717 uses : actions/setup-java@v2
1818 with :
19- java-version : ' 8 '
19+ java-version : ' 17 '
2020 distribution : ' adopt'
2121 - name : Test
2222 run : ./gradlew test
2929 SONATYPE_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
3030 SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
3131 GPG_PRIVATE_KEY : ${{ secrets.GPG_KEY }}
32- run : .github/scripts/deploy.sh
32+ run : .github/scripts/deploy.sh
Original file line number Diff line number Diff line change @@ -16,12 +16,12 @@ jobs:
1616 with :
1717 ref : ${{ github.event.pull_request.head.sha }}
1818 fetch-depth : 0
19- - name : Set up JDK 8
19+ - name : Set up JDK 17
2020 uses : actions/setup-java@v2
2121 with :
22- java-version : ' 8 '
22+ java-version : ' 17 '
2323 distribution : ' adopt'
2424 - name : Validate
2525 run : ./gradlew spotlessCheck
2626 - name : Test
27- run : ./gradlew test
27+ run : ./gradlew test
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ if (project.hasProperty('projVersion')) {
2424ext. isReleaseVersion = ! version. endsWith(" SNAPSHOT" )
2525
2626java {
27- sourceCompatibility = JavaVersion . VERSION_1_8
28- targetCompatibility = JavaVersion . VERSION_1_8
27+ sourceCompatibility = JavaVersion . VERSION_17
28+ targetCompatibility = JavaVersion . VERSION_17
2929 withJavadocJar()
3030 withSourcesJar()
3131}
@@ -115,4 +115,4 @@ nexusPublishing {
115115 password. set(project. properties[" sonatypePassword" ]. toString())
116116 }
117117 }
118- }
118+ }
You can’t perform that action at this time.
0 commit comments