Files
seguridad_electronica/android/build.gradle
T

28 lines
780 B
Groovy

// El bloque buildscript se omite ya que los plugins y versiones de AGP / Kotlin
// se definen de forma declarativa en android/settings.gradle para compatibilidad con Flutter 3+.
allprojects {
repositories {
google()
mavenCentral()
}
}
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
project.evaluationDependsOn(':app')
// Compatibilidad AGP 8+: asigna namespace a librerías que no lo declaran (ej. file_picker)
plugins.withId('com.android.library') {
if (android.namespace == null) {
android.namespace = 'com.mr.flutter.plugin.filepicker'
}
}
}
tasks.register("clean", Delete) {
delete rootProject.layout.buildDirectory
}