Upgrade module template AGP version (#151675)
Follow up to https://github.com/flutter/flutter/pull/151433.
This commit is contained in:
@@ -47,6 +47,22 @@ android {
|
||||
}
|
||||
}
|
||||
|
||||
android.buildTypes.all {buildType ->
|
||||
if (!android.productFlavors.isEmpty()) {
|
||||
android.productFlavors.all{productFlavor ->
|
||||
android.publishing.singleVariant(productFlavor.name + buildType.name.capitalize()) {
|
||||
withSourcesJar()
|
||||
withJavadocJar()
|
||||
}
|
||||
}
|
||||
} else {
|
||||
android.publishing.singleVariant(buildType.name) {
|
||||
withSourcesJar()
|
||||
withJavadocJar()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
flutter {
|
||||
source = "../.."
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user