mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-21 09:17:35 +01:00
adapt build.gradle for new dexlib2 changes
This commit is contained in:
parent
ca67c00f83
commit
743e67ac9e
@ -51,6 +51,7 @@ task proguard(type: JavaExec, dependsOn: fatJar) {
|
||||
args '-keepclassmembers enum * { public static **[] values(); public static ** valueOf(java.lang.String); }'
|
||||
args '-dontwarn com.google.common.base.**'
|
||||
args '-dontwarn com.google.common.collect.**'
|
||||
args '-dontwarn com.google.common.util.**'
|
||||
args '-dontwarn javax.xml.xpath.**'
|
||||
args '-dontnote **'
|
||||
}
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
import org.apache.tools.ant.filters.*
|
||||
|
||||
// kudos #smali - JesusFreke, for how to build release task
|
||||
// release
|
||||
if (!('release' in gradle.startParameter.taskNames)) {
|
||||
ant.loadfile(srcFile: "../../.git/refs/heads/master", property: fullrev, failonerror: false);
|
||||
if (ant.properties[fullrev] == null) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user