dex2jar/d2j-smali/build.gradle
Bob Pan ee63470357
update antlr to 4.9.3 (#599)
Co-authored-by: Nico Mexis <nico.mexis@kabelmail.de>
2023-09-01 14:08:25 +08:00

20 lines
590 B
Groovy

apply plugin: 'antlr'
dependencies {
compile 'org.antlr:antlr4-runtime:4.9.3' // Newer versions only for Java 11+
compile project(':dex-reader')
antlr 'org.antlr:antlr4:4.9.3' // Newer versions only for Java 11+
compile project(':d2j-base-cmd')
compile project(':dex-writer')
testImplementation "com.android.tools.smali:smali-baksmali:3.0.3"
}
generateGrammarSource {
arguments += ['-no-listener', '-visitor','-package','com.googlecode.d2j.smali.antlr4']
}
sourceSets {
test.output.resourcesDir = "build/classes/test"
main.antlr.srcDirs = ['src/main/antlr4']
}