From 7ae15af8cd947ddb51ad6be17da40794a7ebcf8c Mon Sep 17 00:00:00 2001 From: Marc Rousavy Date: Mon, 3 Jul 2023 22:07:49 +0200 Subject: [PATCH] feat: Add RN 0.72 support (`namespace` in build.gradle) --- android/build.gradle | 3 ++- example/android/build.gradle | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index edb748d..52b6400 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -12,7 +12,7 @@ buildscript { } dependencies { - classpath "com.android.tools.build:gradle" + classpath "com.android.tools.build:gradle:8.0.2" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_version" } @@ -73,6 +73,7 @@ repositories { } android { + namespace "com.mrousavy.camera.example" compileSdkVersion safeExtGet("compileSdkVersion", 28) // Used to override the NDK path/version on internal CI or by allowing diff --git a/example/android/build.gradle b/example/android/build.gradle index 2877041..5f2c213 100644 --- a/example/android/build.gradle +++ b/example/android/build.gradle @@ -13,7 +13,7 @@ buildscript { mavenCentral() } dependencies { - classpath('com.android.tools.build:gradle') + classpath('com.android.tools.build:gradle:8.0.2') classpath("com.facebook.react:react-native-gradle-plugin") } }