From a8cf297f204df1a4beaed0bc284e05a1b5bafc65 Mon Sep 17 00:00:00 2001 From: Jiayu Liu Date: Thu, 5 Oct 2023 15:57:39 +0800 Subject: [PATCH] use java 21 --- .github/workflows/build.yml | 8 ++++---- .github/workflows/release.yml | 8 ++++---- README.md | 4 ++-- .../src/main/groovy/datafusion.java-conventions.gradle | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a617303..c0f0d1a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,10 +19,10 @@ jobs: toolchain: stable components: rustfmt, clippy - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v3 with: - java-version: "17" + java-version: "21" distribution: "temurin" - name: Validate Gradle wrapper @@ -66,10 +66,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v3 with: - java-version: 17 + java-version: 21 distribution: "temurin" - name: Validate Gradle wrapper diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 21667a5..58cbc6d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,10 +19,10 @@ jobs: toolchain: stable components: rustfmt, clippy - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v3 with: - java-version: "17" + java-version: "21" distribution: "temurin" - name: Validate Gradle wrapper @@ -66,10 +66,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v3 with: - java-version: 17 + java-version: 21 distribution: "temurin" - name: Validate Gradle wrapper diff --git a/README.md b/README.md index 8ad4fad..dda756a 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,8 @@ A Java binding to [Apache Arrow DataFusion][1] ## Status This project is still work in progress, and currently it works with Arrow 9.0 and DataFusion 7.0 version. -It is build and verified in CI against Java 11 and 17. You may check out the docker run instructions -where Java 17 `jshell` is used to run interactively. +It is build and verified in CI against Java 11 and 21. You may check out the docker run instructions +where Java 21 `jshell` is used to run interactively. ## How to use in your code diff --git a/buildSrc/src/main/groovy/datafusion.java-conventions.gradle b/buildSrc/src/main/groovy/datafusion.java-conventions.gradle index 715ec05..6b8f306 100644 --- a/buildSrc/src/main/groovy/datafusion.java-conventions.gradle +++ b/buildSrc/src/main/groovy/datafusion.java-conventions.gradle @@ -11,7 +11,7 @@ repositories { java { toolchain { - languageVersion = JavaLanguageVersion.of(17) + languageVersion = JavaLanguageVersion.of(21) } }