dex2jar/d2j-jasmin/build.gradle
Bob Pan 17ae98fe74
Update ASM to 9.5, drop AsmBridge (#591)
* Update ASM to 9.5, drop AsmBridge

asm may introduce incompatible between versions, the `api` pass to ClassVisitor() is for compatible.
i believe keep the `api` separately is better than global constant. as we can upgrade asm without touching/review all dex2jar codes.

AsmBridge is a tricky to 'Method Code too large', drop it.

cherry-pick 600f04ade3 from https://github.com/ThexXTURBOXx/dex2jar

* upgrade to new asm api

---------

Co-authored-by: Nico Mexis <nico.mexis@kabelmail.de>
2023-08-30 21:25:55 +08:00

14 lines
422 B
Groovy

apply plugin: 'antlr'
dependencies {
compile(group: 'org.antlr', name: 'antlr-runtime', version:'3.5.2') {
exclude(module: 'stringtemplate')
}
implementation group: 'org.ow2.asm', name: 'asm-tree', version: '9.5'
implementation group: 'org.ow2.asm', name: 'asm-util', version: '9.5'
compile project(':d2j-base-cmd')
antlr "org.antlr:antlr:3.5.2"
}
sourceSets.main.antlr.srcDirs = ['src/main/antlr3']