From 46c37a8f4d7a2cae9f220f7745fa2946d6ba4a79 Mon Sep 17 00:00:00 2001 From: Andrei Xavier de Oliveira Calazans Date: Mon, 20 Nov 2023 09:51:24 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=89=20Add=20support=20for=20AGP=208=20?= =?UTF-8?q?(#48)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- android/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/android/build.gradle b/android/build.gradle index 9f8e491..077d5be 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -22,6 +22,10 @@ def safeExtGet(prop, fallback) { } android { + def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION.tokenize('.')[0].toInteger() + if (agpVersion >= 7) { + namespace 'org.linusu' + } compileSdkVersion safeExtGet('compileSdkVersion', 30) buildToolsVersion safeExtGet('buildToolsVersion', '30.0.3')