public abstract class PackageAndroidArtifact
extends com.android.build.gradle.internal.tasks.NewIncrementalTask
| Modifier and Type | Class and Description |
|---|---|
static class |
PackageAndroidArtifact.CreationAction<TaskT extends PackageAndroidArtifact> |
static class |
PackageAndroidArtifact.IncrementalSplitterRunnable |
static class |
PackageAndroidArtifact.SplitterParams |
| Modifier and Type | Field and Description |
|---|---|
protected com.android.builder.internal.packaging.ApkCreatorType |
apkCreatorType |
protected java.lang.String |
buildTargetAbi |
protected java.lang.String |
buildTargetDensity |
protected com.android.build.api.artifact.Artifact<org.gradle.api.file.Directory> |
manifestType |
protected java.lang.String |
projectBaseName |
protected java.lang.Integer |
targetApi |
| Constructor and Description |
|---|
PackageAndroidArtifact() |
| Modifier and Type | Method and Description |
|---|---|
void |
doTaskAction(org.gradle.work.InputChanges changes) |
abstract org.gradle.api.provider.ListProperty<java.lang.String> |
getAaptOptionsNoCompress() |
abstract org.gradle.api.provider.SetProperty<java.lang.String> |
getAbiFilters() |
com.android.builder.internal.packaging.ApkCreatorType |
getApkCreatorType() |
abstract org.gradle.api.provider.Property<java.lang.String> |
getApplicationId() |
abstract org.gradle.api.file.RegularFileProperty |
getAppMetadata()
App metadata to be packaged in the APK.
|
abstract org.gradle.api.file.DirectoryProperty |
getAssets() |
abstract org.gradle.api.file.ConfigurableFileCollection |
getBaseModuleMetadata() |
java.lang.String |
getBuildTargetAbi() |
java.lang.String |
getBuildTargetDensity() |
abstract org.gradle.api.provider.Property<java.lang.String> |
getCreatedBy() |
abstract org.gradle.api.provider.Property<java.lang.Boolean> |
getDebugBuild() |
abstract org.gradle.api.file.RegularFileProperty |
getDependencyDataFile() |
abstract org.gradle.api.file.ConfigurableFileCollection |
getDexFolders()
FileCollection because of the legacy Transform API.
|
abstract org.gradle.api.provider.Property<java.lang.Boolean> |
getDexUseLegacyPackaging() |
abstract org.gradle.api.file.ConfigurableFileCollection |
getFeatureDexFolder()
FileCollection as comes from another project.
|
abstract org.gradle.api.file.RegularFileProperty |
getIdeModelOutputFile() |
abstract org.gradle.api.file.DirectoryProperty |
getIncrementalFolder() |
abstract org.gradle.api.provider.Property<java.lang.Boolean> |
getIsInvokedFromIde() |
abstract org.gradle.api.file.ConfigurableFileCollection |
getJavaResourceFiles()
List of folders and/or jars that contain the merged java resources.
|
boolean |
getJniDebugBuild() |
abstract org.gradle.api.file.ConfigurableFileCollection |
getJniFolders()
FileCollection because of the legacy Transform API.
|
abstract org.gradle.api.provider.Property<java.lang.Boolean> |
getJniLibsUseLegacyPackaging() |
abstract org.gradle.api.file.DirectoryProperty |
getManifests() |
java.lang.String |
getManifestTypeName() |
abstract org.gradle.api.provider.Property<java.lang.Integer> |
getMinSdkVersion() |
java.util.List<java.lang.String> |
getNativeLibrariesAndDexPackagingModeNames() |
abstract org.gradle.api.file.DirectoryProperty |
getOutputDirectory() |
java.lang.String |
getProjectBaseName() |
abstract org.gradle.api.provider.Property<java.lang.String> |
getProjectPath() |
abstract org.gradle.api.file.DirectoryProperty |
getResourceFiles() |
com.android.build.gradle.internal.signing.SigningConfigDataProvider |
getSigningConfigData() |
abstract org.gradle.api.file.ConfigurableFileCollection |
getSigningConfigVersions() |
java.lang.Integer |
getTargetApi() |
abstract com.android.build.api.artifact.ArtifactTransformationRequest |
getTransformationRequest() |
abstract org.gradle.api.provider.ListProperty<com.android.build.api.variant.impl.VariantOutputImpl> |
getVariantOutputs() |
void |
setJniDebugBuild(boolean jniDebugBuild) |
getVariantName, setVariantNamegetAnalyticsService, getProjectName, getWorkerExecutor, recordTaskActioncompareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesServiceappendParallelSafeAction, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getOnlyIf, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, prependParallelSafeAction, replaceLogger, setImpliesSubProjectsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected com.android.build.api.artifact.Artifact<org.gradle.api.file.Directory> manifestType
protected java.lang.String projectBaseName
@Nullable protected java.lang.String buildTargetAbi
@Nullable protected java.lang.String buildTargetDensity
@Nullable protected java.lang.Integer targetApi
protected com.android.builder.internal.packaging.ApkCreatorType apkCreatorType
@InputFiles @Incremental @PathSensitive(value=RELATIVE) public abstract org.gradle.api.file.DirectoryProperty getManifests()
@InputFiles @Incremental @PathSensitive(value=RELATIVE) public abstract org.gradle.api.file.DirectoryProperty getResourceFiles()
@Input @NonNull public abstract org.gradle.api.provider.SetProperty<java.lang.String> getAbiFilters()
@InputFiles @PathSensitive(value=NAME_ONLY) @Optional public abstract org.gradle.api.file.ConfigurableFileCollection getBaseModuleMetadata()
@InputFile @Incremental @PathSensitive(value=NAME_ONLY) @Optional public abstract org.gradle.api.file.RegularFileProperty getAppMetadata()
@OutputDirectory public abstract org.gradle.api.file.DirectoryProperty getIncrementalFolder()
@Input public java.lang.String getManifestTypeName()
@Classpath @Incremental public abstract org.gradle.api.file.ConfigurableFileCollection getJavaResourceFiles()
FileCollection because of the legacy Transform API.
@Classpath @Incremental public abstract org.gradle.api.file.ConfigurableFileCollection getJniFolders()
@InputFiles @Incremental @PathSensitive(value=RELATIVE) public abstract org.gradle.api.file.ConfigurableFileCollection getDexFolders()
@InputFiles @Incremental @PathSensitive(value=RELATIVE) public abstract org.gradle.api.file.ConfigurableFileCollection getFeatureDexFolder()
@InputFiles @Incremental @PathSensitive(value=RELATIVE) public abstract org.gradle.api.file.DirectoryProperty getAssets()
@InputFile @Nullable @Optional @PathSensitive(value=RELATIVE) public abstract org.gradle.api.file.RegularFileProperty getDependencyDataFile()
@Input public abstract org.gradle.api.provider.Property<java.lang.String> getCreatedBy()
@NonNull @Input public abstract org.gradle.api.provider.ListProperty<java.lang.String> getAaptOptionsNoCompress()
@NonNull @Input public abstract org.gradle.api.provider.Property<java.lang.Boolean> getJniLibsUseLegacyPackaging()
@NonNull @Input public abstract org.gradle.api.provider.Property<java.lang.Boolean> getDexUseLegacyPackaging()
@Input public java.lang.String getProjectBaseName()
@Nullable @Input @Optional public java.lang.Integer getTargetApi()
@Input public boolean getJniDebugBuild()
public void setJniDebugBuild(boolean jniDebugBuild)
@Input public abstract org.gradle.api.provider.Property<java.lang.Boolean> getDebugBuild()
@Input public abstract org.gradle.api.provider.Property<java.lang.Boolean> getIsInvokedFromIde()
public com.android.build.gradle.internal.signing.SigningConfigDataProvider getSigningConfigData()
@InputFiles @PathSensitive(value=NONE) public abstract org.gradle.api.file.ConfigurableFileCollection getSigningConfigVersions()
@Input public abstract org.gradle.api.provider.Property<java.lang.Integer> getMinSdkVersion()
@Input public abstract org.gradle.api.provider.Property<java.lang.String> getApplicationId()
@Input public java.util.List<java.lang.String> getNativeLibrariesAndDexPackagingModeNames()
@Input @Optional @Nullable public java.lang.String getBuildTargetAbi()
@Input @Optional @Nullable public java.lang.String getBuildTargetDensity()
@OutputDirectory public abstract org.gradle.api.file.DirectoryProperty getOutputDirectory()
@OutputFile public abstract org.gradle.api.file.RegularFileProperty getIdeModelOutputFile()
public abstract org.gradle.api.provider.ListProperty<com.android.build.api.variant.impl.VariantOutputImpl> getVariantOutputs()
@Input public abstract com.android.build.api.artifact.ArtifactTransformationRequest getTransformationRequest()
@NonNull @Input public com.android.builder.internal.packaging.ApkCreatorType getApkCreatorType()
@Internal public abstract org.gradle.api.provider.Property<java.lang.String> getProjectPath()
public void doTaskAction(@NonNull
org.gradle.work.InputChanges changes)
doTaskAction in class com.android.build.gradle.internal.tasks.NewIncrementalTask