Skip to content

Commit

Permalink
Migrate to Java 17
Browse files Browse the repository at this point in the history
Needed also in order to move to actions/setup-java@v3 and use the temurin distribution.

Signed-off-by: eliflores <[email protected]>
  • Loading branch information
eliflores committed Aug 18, 2022
1 parent 3964145 commit 48c7b26
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 14
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '14'
java-version: '17'

- name: Grant execute permission for gradlew
run: chmod +x gradlew
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 14
java-version: 17

- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ dependencies {
testImplementation 'com.github.tomakehurst:wiremock:2.27.2'
}

java.sourceCompatibility = JavaVersion.VERSION_14
java.sourceCompatibility = JavaLanguageVersion.of(17)

publishing {
publications {
maven(MavenPublication) {
groupId = 'com.github.eliflores.tools'
artifactId = 'eliflores-little-tools'
version = "0.0.1-rc-1"
version = "0.0.1-rc-2"
from components.java

pom {
Expand Down

0 comments on commit 48c7b26

Please sign in to comment.