public class DexArchiveBuilderConfig
extends java.lang.Object
Currently, there is a limited set of options to configure, and if necessary, other can be added in the future.
| Constructor and Description |
|---|
DexArchiveBuilderConfig(com.android.dx.command.dexer.DxContext dxContext,
boolean optimized,
int minSdkVersion)
Creates a configuration object used to set up the dex archive conversion.
|
| Modifier and Type | Method and Description |
|---|---|
com.android.dx.dex.cf.CfOptions |
getCfOptions() |
com.android.dx.dex.DexOptions |
getDexOptions() |
com.android.dx.command.dexer.DxContext |
getDxContext() |
public DexArchiveBuilderConfig(@NonNull
com.android.dx.command.dexer.DxContext dxContext,
boolean optimized,
int minSdkVersion)
dxContext - used when invoking dx, mainly for getting the standard and error outputoptimized - generated dex should be optimizedminSdkVersion - minimum sdk version used to enable dx features