From 8ddb77edbfbf1f9307be7cc2a6ef77d9b7350dfc Mon Sep 17 00:00:00 2001 From: Georgii Kovalev Date: Thu, 2 Jan 2025 18:24:14 +0500 Subject: [PATCH] compile and publish for java 21 --- .github/workflows/release.yml | 2 +- .github/workflows/scala.yml | 2 +- build.sbt | 4 +--- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9a4d2bb4..ecb0d2ab 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-java@v4 with: - java-version: 8 + java-version: 21 distribution: 'adopt' cache: sbt - uses: sbt/setup-sbt@v1 diff --git a/.github/workflows/scala.yml b/.github/workflows/scala.yml index fce8bd7e..557a65b9 100644 --- a/.github/workflows/scala.yml +++ b/.github/workflows/scala.yml @@ -14,7 +14,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v4 with: - java-version: 11 + java-version: 21 distribution: 'adopt' - uses: sbt/setup-sbt@v1 - name: Run tests diff --git a/build.sbt b/build.sbt index 33a8aba5..6f32a0bf 100644 --- a/build.sbt +++ b/build.sbt @@ -9,9 +9,7 @@ val commonSettings = Defaults.coreDefaultSettings ++ Seq( "-deprecation", "-unchecked", "-feature", - "-release:8", - "-experimental", - "-rewrite" + "-experimental" ) )