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
    • Method Detail

      • 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
        java.lang.String getName()
        Deprecated.
        Returns the name of the variant. Guaranteed to be unique.
      • getBaseName

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

        @NonNull
        java.lang.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"