Commit 00f82d90 authored by Emmanuel Garcia's avatar Emmanuel Garcia Committed by Jonah Williams

Use `mergeResourcesProvider` instead of deprecated `mergeResources` (#41942)

parent ed49a795
......@@ -645,7 +645,9 @@ class FlutterPlugin implements Plugin<Project> {
into mergeAssets.outputDir
}
if (!isUsedAsSubproject) {
variant.mergeResources.dependsOn(copyFlutterAssetsTask)
def mergeResources = variant.hasProperty("mergeResourcesProvider") ?
variant.mergeResourcesProvider.get() : variant.mergeResources
mergeResources.dependsOn(copyFlutterAssetsTask)
return
}
// Flutter module included as a subproject in add to app.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment