mirror of
https://github.com/revanced/Apktool.git
synced 2024-11-11 06:59:24 +01:00
build: update to smali/baksmali 2.3.4
This commit is contained in:
parent
197d468727
commit
232e801e4d
@ -45,6 +45,7 @@ task proguard(type: proguard.gradle.ProGuardTask, dependsOn: shadowJar) {
|
|||||||
|
|
||||||
// Java 9 and prior uses merged package for runtime, later uses split jmod files.
|
// Java 9 and prior uses merged package for runtime, later uses split jmod files.
|
||||||
if (JavaVersion.current() <= JavaVersion.VERSION_1_8) {
|
if (JavaVersion.current() <= JavaVersion.VERSION_1_8) {
|
||||||
|
libraryjars "${System.properties['java.home']}/lib/jce.jar"
|
||||||
libraryjars "${System.properties['java.home']}/lib/rt.jar"
|
libraryjars "${System.properties['java.home']}/lib/rt.jar"
|
||||||
} else {
|
} else {
|
||||||
libraryjars "${System.properties['java.home']}/jmods/java.base.jmod", jarfilter: '!**.jar', filter: '!module-info.class'
|
libraryjars "${System.properties['java.home']}/jmods/java.base.jmod", jarfilter: '!**.jar', filter: '!module-info.class'
|
||||||
|
@ -59,7 +59,7 @@ public class SmaliMod {
|
|||||||
InputStream is = new FileInputStream(smaliFile);
|
InputStream is = new FileInputStream(smaliFile);
|
||||||
InputStreamReader reader = new InputStreamReader(is, "UTF-8");
|
InputStreamReader reader = new InputStreamReader(is, "UTF-8");
|
||||||
|
|
||||||
lexer = new smaliFlexLexer(reader);
|
lexer = new smaliFlexLexer(reader, apiLevel);
|
||||||
((smaliFlexLexer)lexer).setSourceFile(smaliFile);
|
((smaliFlexLexer)lexer).setSourceFile(smaliFile);
|
||||||
tokens = new CommonTokenStream((TokenSource) lexer);
|
tokens = new CommonTokenStream((TokenSource) lexer);
|
||||||
|
|
||||||
|
@ -109,7 +109,7 @@ subprojects {
|
|||||||
|
|
||||||
ext {
|
ext {
|
||||||
depends = [
|
depends = [
|
||||||
baksmali: 'org.smali:baksmali:2.3',
|
baksmali: 'org.smali:baksmali:2.3.4',
|
||||||
commons_cli: 'commons-cli:commons-cli:1.4',
|
commons_cli: 'commons-cli:commons-cli:1.4',
|
||||||
commons_io: 'commons-io:commons-io:2.4',
|
commons_io: 'commons-io:commons-io:2.4',
|
||||||
commons_lang: 'org.apache.commons:commons-lang3:3.1',
|
commons_lang: 'org.apache.commons:commons-lang3:3.1',
|
||||||
@ -117,7 +117,7 @@ subprojects {
|
|||||||
junit: 'junit:junit:4.12',
|
junit: 'junit:junit:4.12',
|
||||||
proguard_gradle: 'net.sf.proguard:proguard-gradle:6.1.1',
|
proguard_gradle: 'net.sf.proguard:proguard-gradle:6.1.1',
|
||||||
snakeyaml: 'org.yaml:snakeyaml:1.18:android',
|
snakeyaml: 'org.yaml:snakeyaml:1.18:android',
|
||||||
smali: 'org.smali:smali:2.3',
|
smali: 'org.smali:smali:2.3.4',
|
||||||
xmlpull: 'xpp3:xpp3:1.1.4c',
|
xmlpull: 'xpp3:xpp3:1.1.4c',
|
||||||
xmlunit: 'xmlunit:xmlunit:1.6',
|
xmlunit: 'xmlunit:xmlunit:1.6',
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user