From 132b2c664ec09701a1ebc2205e3ce9bc3170dea8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klemen=20Tu=C5=A1ar?= Date: Wed, 22 Nov 2023 21:33:52 +0000 Subject: [PATCH] Add namespace to make package compatible with Gradle 8 --- android/build.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/android/build.gradle b/android/build.gradle index 01fc4fb..195d8cb 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -26,6 +26,11 @@ apply plugin: 'com.android.library' apply plugin: 'kotlin-android' android { + // conditional for compatibility with older gradle versions + if (project.android.hasProperty('namespace')) { + namespace 'appmire.be.flutterjailbreakdetection' + } + compileSdkVersion 33 sourceSets {