From 0edaab4e69d35bb8dff2a9a634facdfaa8a410d6 Mon Sep 17 00:00:00 2001 From: David H <50745202+DavidHDJ@users.noreply.github.com> Date: Wed, 13 Mar 2024 12:26:48 +0100 Subject: [PATCH] Add conditional for compatibility with AGP < 4.2 --- uni_links/android/build.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/uni_links/android/build.gradle b/uni_links/android/build.gradle index e3355ff..4749336 100644 --- a/uni_links/android/build.gradle +++ b/uni_links/android/build.gradle @@ -22,6 +22,11 @@ rootProject.allprojects { apply plugin: 'com.android.library' android { + // Conditional for compatibility with AGP < 4.2 + if (project.android.hasProperty("namespace")) { + namespace "name.avioli.unilinks" + } + compileSdkVersion 28 defaultConfig {