adapt build.gradle for new dexlib2 changes

This commit is contained in:
Connor Tumbleson 2013-08-12 12:27:07 -05:00
parent ca67c00f83
commit 743e67ac9e
2 changed files with 2 additions and 1 deletions

View File

@ -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 **'
}

View File

@ -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) {