From 56ce2d94c5e1733cd92608fcccfe1bc15d3729b1 Mon Sep 17 00:00:00 2001 From: Fredia Huya-Kouadio Date: Tue, 17 Oct 2023 11:01:36 -0700 Subject: [PATCH] Bump the java version to version 17 --- .github/workflows/android_builds.yml | 4 ++-- platform/android/java/app/config.gradle | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/android_builds.yml b/.github/workflows/android_builds.yml index ea97ef023dd..495f643e56e 100644 --- a/.github/workflows/android_builds.yml +++ b/.github/workflows/android_builds.yml @@ -20,11 +20,11 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up Java 11 + - name: Set up Java 17 uses: actions/setup-java@v3 with: distribution: temurin - java-version: 11 + java-version: 17 - name: Setup Godot build cache uses: ./.github/actions/godot-cache diff --git a/platform/android/java/app/config.gradle b/platform/android/java/app/config.gradle index e7c06628c86..a91e7bc7ce3 100644 --- a/platform/android/java/app/config.gradle +++ b/platform/android/java/app/config.gradle @@ -9,7 +9,7 @@ ext.versions = [ kotlinVersion : '1.7.0', fragmentVersion : '1.3.6', nexusPublishVersion: '1.1.0', - javaVersion : 11, + javaVersion : 17, // Also update 'platform/android/detect.py#get_ndk_version()' when this is updated. ndkVersion : '23.2.8568313'