Skip to content

Commit fe91bef

Browse files
committed
Fix the jars collection on proguard
1 parent 03e60b2 commit fe91bef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Android/DevSample/buildSrc/src/main/groovy/net/wequick/gradle/AppPlugin.groovy‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ class AppPlugin extends BundlePlugin {
172172

173173
rootSmall.hostProject.tasks.withType(TransformTask.class).each {
174174
if ((it.variantName == 'release' || it.variantName.contains("Release"))
175-
&& it.transform.name == 'dex') {
175+
&& (it.transform.name == 'dex' || it.transform.name == 'proguard')) {
176176
mLibraryJars.addAll(it.streamInputs.findAll { it.name.endsWith('.jar') })
177177
}
178178
}

0 commit comments

Comments
 (0)