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

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.

A toolset that lets you implement parts of your app in native code, using languages such as C and C++.

Updated Nov 19, 2024

Discover the latest app development tools, platform updates, training, and documentation for developers across every Android device.

Updated Dec 18, 2024

Discover the latest app development tools, platform updates, training, and documentation for developers across every Android device.

Updated Dec 18, 2024