MultipleVariants

public interface MultipleVariants extends PublishingOptions


Multi variant publishing options.

Summary

Public methods

abstract void

Publish all the variants to the component.

abstract void

Publish variants to the component based on the specified build types.

abstract void
includeFlavorDimensionAndValues(
    @NonNull String dimension,
    @NonNull String values
)

Publish variants to the component based on the specified product flavor dimension and values.

Inherited methods

From com.android.build.api.dsl.PublishingOptions
abstract void

Publish javadoc jar generated from java & kotlin source as a secondary artifact to a Maven repository.

abstract void

Publish java & kotlin sources jar as a secondary artifact to a Maven repository.

Public methods

allVariants

abstract void allVariants()

Publish all the variants to the component.

includeBuildTypeValues

abstract void includeBuildTypeValues(@NonNull String buildTypes)

Publish variants to the component based on the specified build types.

includeFlavorDimensionAndValues

abstract void includeFlavorDimensionAndValues(
    @NonNull String dimension,
    @NonNull String values
)

Publish variants to the component based on the specified product flavor dimension and values.