public class ApkBuilderStep extends Object implements Step
Constructor and Description |
---|
ApkBuilderStep(ProjectFilesystem filesystem,
Path resourceApk,
Path pathToOutputApkFile,
Path dexFile,
com.google.common.collect.ImmutableSet<Path> assetDirectories,
com.google.common.collect.ImmutableSet<Path> nativeLibraryDirectories,
com.google.common.collect.ImmutableSet<Path> zipFiles,
com.google.common.collect.ImmutableSet<Path> jarFilesThatMayContainResources,
Path pathToKeystore,
java.util.function.Supplier<KeystoreProperties> keystorePropertiesSupplier,
boolean debugMode,
com.google.common.collect.ImmutableList<String> javaRuntimeLauncher,
AndroidSdkLocation androidSdkLocation) |
Modifier and Type | Method and Description |
---|---|
StepExecutionResult |
execute(ExecutionContext context) |
String |
getDescription(ExecutionContext context) |
String |
getShortName() |
public ApkBuilderStep(ProjectFilesystem filesystem, Path resourceApk, Path pathToOutputApkFile, Path dexFile, com.google.common.collect.ImmutableSet<Path> assetDirectories, com.google.common.collect.ImmutableSet<Path> nativeLibraryDirectories, com.google.common.collect.ImmutableSet<Path> zipFiles, com.google.common.collect.ImmutableSet<Path> jarFilesThatMayContainResources, Path pathToKeystore, java.util.function.Supplier<KeystoreProperties> keystorePropertiesSupplier, boolean debugMode, com.google.common.collect.ImmutableList<String> javaRuntimeLauncher, AndroidSdkLocation androidSdkLocation)
resourceApk
- Path to the Apk which only contains resources, no dex files.pathToOutputApkFile
- Path to output our APK to.dexFile
- Path to the classes.dex file.assetDirectories
- List of paths to assets to be included in the apk.nativeLibraryDirectories
- List of paths to native directories.zipFiles
- List of paths to zipfiles to be included into the apk.debugMode
- Whether or not to run ApkBuilder with debug mode turned on.public StepExecutionResult execute(ExecutionContext context) throws IOException
execute
in interface Step
IOException
public String getShortName()
getShortName
in interface Step
public String getDescription(ExecutionContext context)
getDescription
in interface Step