From 44fe7f3619f17765199d619a9b3a993a56864644 Mon Sep 17 00:00:00 2001 From: Justin Talia <5800105+gulo-gulo@users.noreply.github.com> Date: Thu, 6 May 2021 11:48:43 -0500 Subject: [PATCH] Update to support AGP 4.2.0 release Update to support AGP 4.2.0 release, currently only supports up to 4.2.0-alpha07 --- .../src/main/groovy/com/kezong/fataar/VariantProcessor.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/main/groovy/com/kezong/fataar/VariantProcessor.groovy b/source/src/main/groovy/com/kezong/fataar/VariantProcessor.groovy index 70903fc4..7c296ab0 100755 --- a/source/src/main/groovy/com/kezong/fataar/VariantProcessor.groovy +++ b/source/src/main/groovy/com/kezong/fataar/VariantProcessor.groovy @@ -320,7 +320,7 @@ class VariantProcessor { ManifestProcessorTask processManifestTask = mVersionAdapter.getProcessManifest() File manifestOutput - if (FatUtils.compareVersion(VersionAdapter.AGPVersion, "4.2.0-alpha07") >= 0) { + if (FatUtils.compareVersion(VersionAdapter.AGPVersion, "4.2.0") >= 0) { manifestOutput = mProject.file("${mProject.buildDir.path}/intermediates/merged_manifest/${mVariant.name}/AndroidManifest.xml") } else if (FatUtils.compareVersion(VersionAdapter.AGPVersion, "3.3.0") >= 0) { manifestOutput = mProject.file("${mProject.buildDir.path}/intermediates/library_manifest/${mVariant.name}/AndroidManifest.xml")