From a4fc11d7e7081d60af3114367c04003764f336e0 Mon Sep 17 00:00:00 2001 From: LapisBerry Date: Sun, 26 May 2024 17:36:18 +0700 Subject: [PATCH] build: edit build.gradle gradle.yml using openjdk 21.0.3 and javafx 21.0.3 --- .github/workflows/gradle.yml | 12 ++++++------ build.gradle | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 4ea6448..49333c5 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -22,11 +22,11 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up JDK 22 + - name: Set up JDK 21 uses: actions/setup-java@v4 with: - java-version: '22' - distribution: 'oracle' + java-version: '21.0.3' + distribution: 'temurin' # Configure Gradle for optimal use in GiHub Actions, including caching of downloaded dependencies. # See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md @@ -58,11 +58,11 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up JDK 20 + - name: Set up JDK 21 uses: actions/setup-java@v4 with: - java-version: '22' - distribution: 'oracle' + java-version: '21.0.3' + distribution: 'temurin' # Generates and submits a dependency graph, enabling Dependabot Alerts for all project dependencies. # See: https://github.com/gradle/actions/blob/main/dependency-submission/README.md diff --git a/build.gradle b/build.gradle index dbf5913..996a8a4 100644 --- a/build.gradle +++ b/build.gradle @@ -12,7 +12,7 @@ repositories { } javafx { - version = '22.0.1' + version = '21.0.3' modules = ['javafx.controls', 'javafx.media'] }