DexOptions

API Documentation:DexOptions

DSL object for configuring dx options.

Properties

PropertyDescription
incremental

Whether to enable the incremental mode for dx. This has many limitations and may not work. Use carefully.

javaMaxHeapSize

Sets the -JXmx* value when calling dx. Format should follow the 1024M pattern.

jumboMode

Enable jumbo mode in dx (--force-jumbo).

preDexLibraries

Whether to pre-dex libraries. This can improve incremental builds, but clean builds may be slower.

Methods

No methods

Script blocks

No script blocks

Property details

boolean incremental

Whether to enable the incremental mode for dx. This has many limitations and may not work. Use carefully.

String javaMaxHeapSize

Sets the -JXmx* value when calling dx. Format should follow the 1024M pattern.

boolean jumboMode

Enable jumbo mode in dx (--force-jumbo).

boolean preDexLibraries

Whether to pre-dex libraries. This can improve incremental builds, but clean builds may be slower.