enable incremental and jumboMode for dexing, speeds up process considerably
This commit is contained in:
@@ -207,7 +207,9 @@ android {
|
|||||||
|
|
||||||
// Disable preDexing, causes com.android.dx.cf.iface.ParseException: bad class file magic (cafebabe) or version (0034.0000) on some systems
|
// Disable preDexing, causes com.android.dx.cf.iface.ParseException: bad class file magic (cafebabe) or version (0034.0000) on some systems
|
||||||
dexOptions {
|
dexOptions {
|
||||||
|
incremental = true
|
||||||
preDexLibraries = false
|
preDexLibraries = false
|
||||||
|
jumboMode = true
|
||||||
javaMaxHeapSize "2g"
|
javaMaxHeapSize "2g"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user