From 1d6fb297535876a5b313f2aabfa3c0a06164e935 Mon Sep 17 00:00:00 2001 From: yungblud Date: Sat, 6 Jul 2024 17:19:24 +0900 Subject: [PATCH] feat: modified Fabric example android build.gradle for resolving build issue (#3976) --- examples/FabricExample/android/build.gradle | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/examples/FabricExample/android/build.gradle b/examples/FabricExample/android/build.gradle index 43c92120..992bdc08 100644 --- a/examples/FabricExample/android/build.gradle +++ b/examples/FabricExample/android/build.gradle @@ -3,21 +3,23 @@ buildscript { ext { buildToolsVersion = "34.0.0" - minSdkVersion = 21 + minSdkVersion = 23 compileSdkVersion = 34 targetSdkVersion = 34 - ndkVersion = "25.1.8937393" - kotlinVersion = "1.8.0" + ndkVersion = "26.1.10909125" + kotlinVersion = "1.9.22" + + useExoplayerIMA = System.getenv("RNV_SAMPLE_ENABLE_ADS") ?: true + useExoplayerRtsp = true } repositories { google() mavenCentral() } - dependencies { +dependencies { classpath("com.android.tools.build:gradle") classpath("com.facebook.react:react-native-gradle-plugin") - classpath("de.undercouch:gradle-download-task:5.0.1") - classpath("org.jetbrains.kotlin:kotlin-gradle-plugin") + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion" } }