MultipleVariants

Added in 7.1.0

interface MultipleVariants : PublishingOptions


Multi variant publishing options.

Summary

Public functions

Unit

Publish all the variants to the component.

Unit
includeBuildTypeValues(vararg buildTypes: String)

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

Unit
includeFlavorDimensionAndValues(dimension: String, vararg values: String)

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

Inherited functions

From com.android.build.api.dsl.PublishingOptions
Unit

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

Unit

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

Public functions

allVariants

Added in 7.1.0
fun allVariants(): Unit

Publish all the variants to the component.

includeBuildTypeValues

Added in 7.1.0
fun includeBuildTypeValues(vararg buildTypes: String): Unit

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

includeFlavorDimensionAndValues

Added in 7.1.0
fun includeFlavorDimensionAndValues(dimension: String, vararg values: String): Unit

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