LibraryVariant

@Incubating interface LibraryVariant : Variant, GeneratesAar
com.android.build.api.variant.LibraryVariant

Variant for Library projects

Summary

Inherited functions

Properties

abstract AndroidTest?

Variant's AndroidTest configuration, or null if android tests are disabled for this variant.

abstract Renderscript?

Variant specific settings for the renderscript compiler.

Inherited properties

Properties

androidTest

abstract val androidTest: AndroidTest?

Variant's AndroidTest configuration, or null if android tests are disabled for this variant.

renderscript

abstract val renderscript: Renderscript?

Variant specific settings for the renderscript compiler. This will return null when com.android.build.api.dsl.BuildFeatures.renderScript is false.