From 44cd0a09338256eb57cd4604f6d413c08e468f52 Mon Sep 17 00:00:00 2001 From: 1nspir3d <62627903+1nspir3d@users.noreply.github.com> Date: Tue, 7 Nov 2023 19:34:45 +0300 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 dbbe046..8935da0 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -15,6 +15,11 @@ buildscript { apply plugin: 'com.android.library' android { + def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION + if (agpVersion.tokenize('.')[0].toInteger() >= 7) { + namespace "net.no_mad.tts" + } + compileSdkVersion safeExtGet('compileSdkVersion', 26) buildToolsVersion safeExtGet('buildToolsVersion', '26.0.3')