From 8db70e1b2f8c14278aaa4e848d38cc71568658a4 Mon Sep 17 00:00:00 2001 From: LuisGutierrezArone <73268840+LuisGutierrezArone@users.noreply.github.com> Date: Thu, 4 Apr 2024 02:09:58 -0500 Subject: [PATCH] Update build.gradle PARA LA COMPATIBILIDAD CON LA VERSION 8.4.0 DE GRADLE --- android/build.gradle | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index f0f02e7a..9c89bb72 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -4,7 +4,8 @@ version '1.0-SNAPSHOT' buildscript { repositories { google() - jcenter() + //jcenter() + mavenCentral() } dependencies { @@ -15,13 +16,18 @@ buildscript { rootProject.allprojects { repositories { google() - jcenter() + //jcenter() + mavenCentral() } } apply plugin: 'com.android.library' android { + if (project.android.hasProperty("namespace")) { + namespace 'com.amolg.flutterbarcodescanner' + } + compileSdkVersion 30 defaultConfig { @@ -39,4 +45,4 @@ dependencies { implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation 'com.google.android.material:material:1.3.0' implementation 'com.google.android.gms:play-services-vision:20.1.3' -} \ No newline at end of file +}