Skip to content

Commit

Permalink
[build] Update source compatibility to Java 17 (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
spacey-sooty authored Jul 12, 2024
1 parent 0f906c3 commit 51ac01e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'zulu'
java-version: 17
distribution: 'temurin'
- name: Build
run: ./gradlew build -PRunToolchainTests
- name: Publish
Expand All @@ -40,8 +40,8 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'zulu'
java-version: 17
distribution: 'temurin'
- name: Publish
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
run: ./gradlew publishToMavenLocal
Expand Down
4 changes: 2 additions & 2 deletions ToolchainPlugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ base {
}

java {
sourceCompatibility = 11
targetCompatibility = 11
sourceCompatibility = 17
targetCompatibility = 17
}

if (project.hasProperty('RunToolchainTests')) {
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ plugins {
}

java {
sourceCompatibility = 11
targetCompatibility = 11
sourceCompatibility = 17
targetCompatibility = 17
}

allprojects {
Expand Down

0 comments on commit 51ac01e

Please sign in to comment.