mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-12 13:57:46 +01:00
fix: move outjars to end of proguard file
This commit is contained in:
parent
2d84a8596a
commit
1b4f8ec68c
@ -41,10 +41,7 @@ task cleanOutputDirectory(type: Delete) {
|
||||
}
|
||||
|
||||
task proguard(type: proguard.gradle.ProGuardTask, dependsOn: shadowJar) {
|
||||
def outFile = jar.destinationDir.getPath() + '/' + "apktool" + '-' + project.apktool_version + '-small' + '.' + jar.extension
|
||||
|
||||
injars shadowJar.archivePath
|
||||
outjars outFile
|
||||
|
||||
libraryjars "${System.properties['java.home']}/lib/rt.jar"
|
||||
|
||||
@ -58,6 +55,9 @@ task proguard(type: proguard.gradle.ProGuardTask, dependsOn: shadowJar) {
|
||||
dontwarn 'com.google.common.util.**'
|
||||
dontwarn 'javax.xml.xpath.**'
|
||||
dontnote '**'
|
||||
|
||||
def outFile = jar.destinationDir.getPath() + '/' + "apktool" + '-' + project.apktool_version + '-small' + '.' + jar.extension
|
||||
outjars outFile
|
||||
}
|
||||
|
||||
proguard.dependsOn cleanOutputDirectory
|
||||
|
Loading…
Reference in New Issue
Block a user