From 4f2f90a131fa9b1ec97d384a3be6f54caa433e91 Mon Sep 17 00:00:00 2001 From: Yogev Ben David Date: Wed, 9 Nov 2022 11:46:27 +0200 Subject: [PATCH] Downgrade library java version (#7636) Closes #7635 --- lib/android/app/build.gradle | 6 +++--- playground/android/app/build.gradle | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/android/app/build.gradle b/lib/android/app/build.gradle index 32efbe4afce..5abc5ac36bc 100644 --- a/lib/android/app/build.gradle +++ b/lib/android/app/build.gradle @@ -65,11 +65,11 @@ android { } } compileOptions { - sourceCompatibility JavaVersion.VERSION_11 - targetCompatibility JavaVersion.VERSION_11 + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 } kotlinOptions { - jvmTarget = JavaVersion.VERSION_11 + jvmTarget = JavaVersion.VERSION_1_8 } flavorDimensions "RNN.reactNativeVersion" diff --git a/playground/android/app/build.gradle b/playground/android/app/build.gradle index 9aa9ad831e5..d27be8df21d 100644 --- a/playground/android/app/build.gradle +++ b/playground/android/app/build.gradle @@ -20,8 +20,8 @@ android { ndkVersion "20.1.5948944" compileOptions { - sourceCompatibility JavaVersion.VERSION_11 - targetCompatibility JavaVersion.VERSION_11 + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 } defaultConfig {