From 1e3a96f9b60c6cf1045c54c678acb9e7cb12b235 Mon Sep 17 00:00:00 2001 From: Aleksandr Serdiukov Date: Mon, 31 Jul 2023 19:33:53 +0300 Subject: [PATCH] Updated pipeline to enable Java 19 --- .github/workflows/autobuild-release.yml | 18 +++++++++--------- build.gradle.kts | 4 ++-- version.txt | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/autobuild-release.yml b/.github/workflows/autobuild-release.yml index 441bcdb..2f74f59 100644 --- a/.github/workflows/autobuild-release.yml +++ b/.github/workflows/autobuild-release.yml @@ -18,22 +18,22 @@ jobs: packages: write steps: - - uses: actions/checkout@v3 - - name: Set up JDK 17 + - uses: actions/checkout@v3 + - name: Set up JDK 19 uses: actions/setup-java@v3 with: - java-version: '17' + java-version: '19' distribution: 'temurin' - server-id: github # Value of the distributionManagement/repository/id field of the pom.xml - settings-path: ${{ github.workspace }} # location for the settings.xml file + check-latest: true + cache: 'gradle' - name: Setup Gradle uses: gradle/gradle-build-action@v2 - - - name: Regenerate Gradle wrapper + + - name: Regenerate Gradle wrapper run: gradle wrapper - - - name: Execute Gradle build + + - name: Execute Gradle build run: ./gradlew :clean :build - name: Generate latest release diff --git a/build.gradle.kts b/build.gradle.kts index a9d4c08..a48cef2 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -83,8 +83,8 @@ dependencies { } java { - sourceCompatibility = JavaVersion.VERSION_17 - targetCompatibility = JavaVersion.VERSION_17 + sourceCompatibility = JavaVersion.VERSION_19 + targetCompatibility = JavaVersion.VERSION_19 } tasks.withType { diff --git a/version.txt b/version.txt index ffc06be..18a13fa 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.0.7-35005ae \ No newline at end of file +1.0.9-e8641b3 \ No newline at end of file