Skip to content

Commit

Permalink
Updated gradle, for official jdk17 support, added java17 build to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianKirmaier committed Jan 18, 2022
1 parent e6b7256 commit 2b30c9a
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: AdoptOpenJDK/install-jdk@v1
- uses: actions/setup-java@v2
with:
version: '11'
architecture: x64
distribution: 'temurin'
java-version: '11'
- name: compile
run: |
./gradlew clean jar
17 changes: 17 additions & 0 deletions .github/workflows/linux17.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Linux build

on: [push]

jobs:
builds:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '17'
- name: compile
run: |
./gradlew clean jar
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ repositories {
}

javafx {
version = '15.0.1'
version = '17.0.1'
modules = [ 'javafx.base', 'javafx.graphics', 'javafx.controls', 'javafx.fxml', 'javafx.media', 'javafx.web' ]
}

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 2b30c9a

Please sign in to comment.