use of com.taobao.android.builder.tools.multidex.dex.DexMerger in project atlas by alibaba.
the class FastDexMergeTest method testB.
private void testB(Collection<File> files) throws IOException {
MultiDexConfig multiDexConfig = new MultiDexConfig("debug");
multiDexConfig.setDexCount(3);
DexMerger dexMerger = new DexMerger(multiDexConfig, files);
List<DexGroup> dexDtos = dexMerger.group();
// System.out.println(JSON.toJSONString(dexDtos,true));
System.out.println(dexDtos.size());
System.out.println(dexMerger.dexList.size());
}
use of com.taobao.android.builder.tools.multidex.dex.DexMerger in project atlas by alibaba.
the class FastDexMergeTest method testA.
private void testA(Collection<File> files) throws IOException {
MultiDexConfig multiDexConfig = new MultiDexConfig("debug");
DexMerger dexMerger = new DexMerger(multiDexConfig, files);
List<DexGroup> dexDtos = dexMerger.group();
// System.out.println(JSON.toJSONString(dexDtos,true));
System.out.println(dexDtos.size());
System.out.println(dexMerger.dexList.size());
}
use of com.taobao.android.builder.tools.multidex.dex.DexMerger in project atlas by alibaba.
the class FastDexMergeTest method testC.
private void testC(Collection<File> files) throws IOException {
MultiDexConfig multiDexConfig = new MultiDexConfig("debug");
// multiDexConfig.setDexSplitRules("a12312,123213;c123123,d123123;ee123123");
// multiDexConfig.setDexCount(3);
DexMerger dexMerger = new DexMerger(multiDexConfig, files);
List<DexGroup> dexDtos = dexMerger.group();
System.out.println(dexDtos.size());
System.out.println(dexMerger.dexList.size());
FileUtils.deleteDirectory(new File("/Users/wuzhong/Downloads/dex"));
new File("/Users/wuzhong/Downloads/dex").mkdirs();
dexMerger.executeMerge(new File("/Users/wuzhong/Downloads/dex"), dexDtos);
}
Aggregations