From 075234d69ea3944132670122694b9264e1cc55fd Mon Sep 17 00:00:00 2001 From: Jose Date: Sun, 22 Dec 2024 20:17:27 +0100 Subject: [PATCH] Target SDK 34 for compatibility with Java 17 - Fixes #3298 (#3302) --- java/test/android/controller/build.gradle | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/java/test/android/controller/build.gradle b/java/test/android/controller/build.gradle index 79542d275e4..1f29d0bfeb8 100644 --- a/java/test/android/controller/build.gradle +++ b/java/test/android/controller/build.gradle @@ -55,12 +55,13 @@ android { defaultConfig { applicationId "com.zeroc.testcontroller" - minSdkVersion 24 + minSdkVersion 34 // SDK 34 required for Java 17 compatibility targetSdkVersion 34 multiDexEnabled true // Necessary otherwise we'd exceed the 64K DEX limit. compileOptions { - sourceCompatibility "1.17" - targetCompatibility "1.17" + // Sets Java compatibility to Java 17 + sourceCompatibility JavaVersion.VERSION_17 + targetCompatibility JavaVersion.VERSION_17 } }