mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-05 02:22:55 +01:00
remove old hashed binaries during proguard build, update gradle wrapper url
This commit is contained in:
parent
59b069a7a1
commit
b1d1a0863d
@ -32,6 +32,10 @@ gradle.taskGraph.whenReady {
|
||||
}
|
||||
}
|
||||
|
||||
task cleanOutputDirectory(type: Delete) {
|
||||
delete fileTree(dir: jar.destinationDir.getPath(), exclude: "apktool-cli.jar")
|
||||
}
|
||||
|
||||
task proguard(type: JavaExec, dependsOn: fatJar) {
|
||||
def outFile = jar.destinationDir.getPath() + '/' + "apktool" + '-' + project.apktool_version + '-small' + '.' + jar.extension
|
||||
inputs.file jar.archivePath
|
||||
@ -54,4 +58,5 @@ task proguard(type: JavaExec, dependsOn: fatJar) {
|
||||
args '-dontnote **'
|
||||
}
|
||||
|
||||
proguard.dependsOn cleanOutputDirectory
|
||||
tasks.getByPath(':release').dependsOn(proguard)
|
4
gradle/wrapper/gradle-wrapper.properties
vendored
4
gradle/wrapper/gradle-wrapper.properties
vendored
@ -1,6 +1,6 @@
|
||||
#Sat Feb 08 17:54:55 CST 2014
|
||||
#Sat Feb 08 18:00:26 CST 2014
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=http\://downloads.gradle.org/distributions/gradle-1.10-bin.zip
|
||||
distributionUrl=http\://downloads.gradle.org/distributions/gradle-1.10-all.zip
|
||||
|
Loading…
Reference in New Issue
Block a user