ing csv import
This commit is contained in:
@@ -15,8 +15,25 @@ subprojects {
|
||||
val newSubprojectBuildDir: Directory = newBuildDir.dir(project.name)
|
||||
project.layout.buildDirectory.value(newSubprojectBuildDir)
|
||||
}
|
||||
|
||||
// Force plugins (e.g. file_picker) onto compileSdk 36 so they satisfy
|
||||
// flutter_plugin_android_lifecycle AAR metadata checks.
|
||||
subprojects {
|
||||
project.evaluationDependsOn(":app")
|
||||
afterEvaluate {
|
||||
val android = extensions.findByName("android") ?: return@afterEvaluate
|
||||
for (name in listOf("setCompileSdk", "setCompileSdkVersion")) {
|
||||
try {
|
||||
android.javaClass
|
||||
.getMethod(name, Int::class.javaPrimitiveType)
|
||||
.invoke(android, 36)
|
||||
break
|
||||
} catch (_: NoSuchMethodException) {
|
||||
// try next
|
||||
} catch (_: Exception) {
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tasks.register<Delete>("clean") {
|
||||
|
||||
Reference in New Issue
Block a user