Multi-dex extensions for dexlib2
oSumAtrIX 6db4dc4c95 build: Use Maven Central instead of JCenter | 1 rok pred | |
---|---|---|
.idea | 5 rokov pred | |
gradle | 1 rok pred | |
src | 1 rok pred | |
.gitignore | 6 rokov pred | |
.travis.yml | 5 rokov pred | |
LICENSE.txt | 7 rokov pred | |
NOTICE.txt | 5 rokov pred | |
README.md | 7 rokov pred | |
README.txt | 5 rokov pred | |
build.gradle | 1 rok pred | |
check-copyright.gradle | 5 rokov pred | |
configure-artifacts.gradle | 5 rokov pred | |
configure-publishing.gradle | 1 rok pred | |
gradlew | 5 rokov pred | |
gradlew.bat | 5 rokov pred |
This is a free software (GPLv3+) library on top of dexlib2 that features:
DexFile
objects, making it trivial to add multi-dex support to existing non-multi-dex-aware dexlib2 clients.Limitations:
Releases of multidexlib2 are distributed with coordinates com.github.lanchon.dexpatcher:multidexlib2
through the Maven Central Repository, with version numbers starting at 2.2.0
and matching the version of dexlib2 they were built against. Release changelog is available here.
Interface:
DexFile
.MultiDexContainer
.DexFile
.Parameters:
true
to enable multi-dex support.new BasicDexFileNamer()
.null
to auto-detect.DexIO.DEFAULT_MAX_DEX_POOL_SIZE
.1
to force single-threaded writes.0
to auto-detect optimum thread count.0, false
to disable main dex management.null
to disable logging.Sample:
DexPatcher's file processor is a simple yet production-quality client of multidexlib2.