Multi-dex extensions for dexlib2
oSumAtrIX 6db4dc4c95 build: Use Maven Central instead of JCenter | il y a 1 an | |
---|---|---|
.idea | il y a 5 ans | |
gradle | il y a 1 an | |
src | il y a 1 an | |
.gitignore | il y a 6 ans | |
.travis.yml | il y a 5 ans | |
LICENSE.txt | il y a 7 ans | |
NOTICE.txt | il y a 5 ans | |
README.md | il y a 7 ans | |
README.txt | il y a 5 ans | |
build.gradle | il y a 1 an | |
check-copyright.gradle | il y a 5 ans | |
configure-artifacts.gradle | il y a 5 ans | |
configure-publishing.gradle | il y a 1 an | |
gradlew | il y a 5 ans | |
gradlew.bat | il y a 5 ans |
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.