From 17e943c1458c5b6cb9de708b02c0af34dfde5ff2 Mon Sep 17 00:00:00 2001 From: Alex Risch Date: Tue, 23 Jan 2024 09:14:54 -0700 Subject: [PATCH] fix: Revert Java Version Upgrade Revert java version upgrade until React Native 0.73 is more widly used --- android/build.gradle | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 3c1817e5c..bbf15b4a8 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -66,17 +66,17 @@ afterEvaluate { } android { - compileSdkVersion safeExtGet("compileSdkVersion", 34) + compileSdkVersion safeExtGet("compileSdkVersion", 33) def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION if (agpVersion.tokenize('.')[0].toInteger() < 8) { compileOptions { - sourceCompatibility JavaVersion.VERSION_17 - targetCompatibility JavaVersion.VERSION_17 + sourceCompatibility JavaVersion.VERSION_11 + targetCompatibility JavaVersion.VERSION_11 } kotlinOptions { - jvmTarget = JavaVersion.VERSION_17.majorVersion + jvmTarget = JavaVersion.VERSION_11.majorVersion } }