AarMetadata

Added in 7.0.0

interface AarMetadata


Build-time properties for AAR Metadata inside a Component

This is accessed via GeneratesAar.aarMetadata

Summary

Public properties

Property<String>

Minimum Android Gradle Plugin version needed to consume this library.

Property<Int>

Minimum compileSdkVersion needed to consume this library.

Property<Int>

Minimum compileSdkExtension needed to consume this library.

Public properties

minAgpVersion

Added in 7.1.0
val minAgpVersionProperty<String>

Minimum Android Gradle Plugin version needed to consume this library. This is the minimum AGP version a module must use in order to import this library.

minAgpVersion must be a stable AGP version, and it must be formatted with major, minor, and micro values (for example, "4.0.0").

minCompileSdk

Added in 7.0.0
val minCompileSdkProperty<Int>

Minimum compileSdkVersion needed to consume this library. This is the minimum sdk version a module must use in order to import this library.

minCompileSdkExtension

Added in 7.4.0
val minCompileSdkExtensionProperty<Int>

Minimum compileSdkExtension needed to consume this library. This is the minimum sdk extension version a module must use in order to import this library.

The default value of minCompileSdkExtension is 0 if not set via the DSL.