Skip to content

Commit

Permalink
fix: Building SWT requires Java 17
Browse files Browse the repository at this point in the history
Fix for 62b05bb
  • Loading branch information
bric3 committed Jun 19, 2023
1 parent 1b88223 commit 82a05ec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
java-version: '19'
distribution: 'zulu'

- name: Setup Gradle
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
java-version: '19'
distribution: 'zulu'
- name: Publish to Staging Repository
uses: gradle/gradle-build-action@v2
Expand Down
2 changes: 1 addition & 1 deletion fireplace-swt-awt-bridge/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ tasks.test {

tasks.withType(JavaCompile::class) {
options.compilerArgs.addAll(arrayOf("-Xlint"))
options.release.set(11)
options.release.set(17)
}

0 comments on commit 82a05ec

Please sign in to comment.