MultipleVariants

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 class 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

fun allVariants(): Unit

Publish all the variants to the component.

includeBuildTypeValues

fun includeBuildTypeValues(vararg buildTypes: String?): Unit

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

includeFlavorDimensionAndValues

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

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