From 740c734d4018853183e21d27d1b564ea2806f6d1 Mon Sep 17 00:00:00 2001 From: Alex Hernandez Date: Tue, 18 Jul 2023 13:06:35 -0700 Subject: [PATCH] Update build.gradle --- android/build.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/android/build.gradle b/android/build.gradle index 5b21cd59c..2e197635a 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -20,6 +20,11 @@ buildscript { apply plugin: 'com.android.library' android { + def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION + if (agpVersion.tokenize('.')[0].toInteger() >= 7) { + namespace "com.dylanvann.fastimage" + } + compileSdkVersion safeExtGet('compileSdkVersion', 28) buildToolsVersion safeExtGet('buildToolsVersion', '28.0.3') defaultConfig {