class DexOptions extends Object
DSL object for configuring dx options.
| Type | Name and description | 
|---|---|
boolean | 
                            getIncremental()Whether to enable the incremental mode for dx.  | 
                        
String | 
                            getJavaMaxHeapSize()Sets the -JXmx* value when calling dx.  | 
                        
boolean | 
                            getJumboMode()Enable jumbo mode in dx (--force-jumbo).  | 
                        
boolean | 
                            getPreDexLibraries()Whether to pre-dex libraries.  | 
                        
int | 
                            getThreadCount()TODO: Document.  | 
                        
void | 
                            setIncremental(boolean isIncremental) | 
                        
void | 
                            setJavaMaxHeapSize(String theJavaMaxHeapSize) | 
                        
void | 
                            setJumboMode(boolean flag) | 
                        
void | 
                            setPreDexLibraries(boolean flag) | 
                        
void | 
                            setThreadCount(int threadCount) | 
                        
Whether to enable the incremental mode for dx. This has many limitations and may not work. Use carefully.
Sets the -JXmx* value when calling dx. Format should follow the 1024M pattern.
Enable jumbo mode in dx (--force-jumbo).
Whether to pre-dex libraries. This can improve incremental builds, but clean builds may be slower.
TODO: Document.