mirror of
https://github.com/revanced/Apktool.git
synced 2024-11-19 02:49:25 +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) {
|
task proguard(type: proguard.gradle.ProGuardTask, dependsOn: shadowJar) {
|
||||||
def outFile = jar.destinationDir.getPath() + '/' + "apktool" + '-' + project.apktool_version + '-small' + '.' + jar.extension
|
|
||||||
|
|
||||||
injars shadowJar.archivePath
|
injars shadowJar.archivePath
|
||||||
outjars outFile
|
|
||||||
|
|
||||||
libraryjars "${System.properties['java.home']}/lib/rt.jar"
|
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 'com.google.common.util.**'
|
||||||
dontwarn 'javax.xml.xpath.**'
|
dontwarn 'javax.xml.xpath.**'
|
||||||
dontnote '**'
|
dontnote '**'
|
||||||
|
|
||||||
|
def outFile = jar.destinationDir.getPath() + '/' + "apktool" + '-' + project.apktool_version + '-small' + '.' + jar.extension
|
||||||
|
outjars outFile
|
||||||
}
|
}
|
||||||
|
|
||||||
proguard.dependsOn cleanOutputDirectory
|
proguard.dependsOn cleanOutputDirectory
|
||||||
|
Loading…
Reference in New Issue
Block a user