Interface BaseVariantOutput

All Superinterfaces:
com.android.build.OutputFile, com.android.build.VariantOutput
All Known Subinterfaces:
ApkVariantOutput

@Deprecated public interface BaseVariantOutput extends com.android.build.OutputFile
Deprecated.
A Build variant output and all its public data. This is the base class for items common to apps, test apps, and libraries
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.android.build.VariantOutput

    com.android.build.VariantOutput.FilterType, com.android.build.VariantOutput.OutputType
  • Field Summary

    Fields inherited from interface com.android.build.VariantOutput

    ABI, DENSITY, FULL_SPLIT, LANGUAGE, MAIN, NO_FILTER
  • Method Summary

    Modifier and Type
    Method
    Description
    org.gradle.api.Task
    Deprecated.
    Returns the base name for the output of the variant.
    Deprecated.
    Returns a subfolder name for the variant output.
    Deprecated.
    Returns the name of the variant.
    com.android.build.gradle.tasks.ManifestProcessorTask
    org.gradle.api.tasks.TaskProvider<com.android.build.gradle.tasks.ManifestProcessorTask>
    Deprecated.
    Returns the TaskProvider for the manifest merging task
    org.gradle.api.tasks.TaskProvider<ProcessAndroidResources>
    Deprecated.
    Returns the TaskProvider for the Android Resources processing task.

    Methods inherited from interface com.android.build.OutputFile

    getOutputFile

    Methods inherited from interface com.android.build.VariantOutput

    getFilters, getFilterTypes, getMainOutputFile, getOutputs, getOutputType, getVersionCode
  • Method Details

    • getProcessResources

      @NonNull @Deprecated ProcessAndroidResources getProcessResources()
      Returns the Android Resources processing task.
    • getProcessResourcesProvider

      @NonNull org.gradle.api.tasks.TaskProvider<ProcessAndroidResources> getProcessResourcesProvider()
      Deprecated.
      Returns the TaskProvider for the Android Resources processing task.

      Prefer this to getProcessResources() as it triggers eager configuration of the task.

    • getProcessManifest

      @NonNull @Deprecated com.android.build.gradle.tasks.ManifestProcessorTask getProcessManifest()
      Returns the manifest merging task.
    • getProcessManifestProvider

      @NonNull org.gradle.api.tasks.TaskProvider<com.android.build.gradle.tasks.ManifestProcessorTask> getProcessManifestProvider()
      Deprecated.
      Returns the TaskProvider for the manifest merging task

      Prefer this to getProcessManifest() as it triggers eager configuration of the task.

    • getAssemble

      @Nullable @Deprecated org.gradle.api.Task getAssemble()
      Returns the assemble task for this particular output
    • getName

      @NonNull String getName()
      Deprecated.
      Returns the name of the variant. Guaranteed to be unique.
    • getBaseName

      @NonNull String getBaseName()
      Deprecated.
      Returns the base name for the output of the variant. Guaranteed to be unique.
    • getDirName

      @NonNull String getDirName()
      Deprecated.
      Returns a subfolder name for the variant output. Guaranteed to be unique. This is usually a mix of build type and flavor(s) (if applicable). For instance this could be: "debug" "debug/myflavor" "release/Flavor1Flavor2"