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 functions

Unit

Public properties

Property<String>

Minimum Android Gradle Plugin version needed to consume this library.

Property<Int>

This property is deprecated. Use minCompileSdk() instead.

Property<Int>

This property is deprecated. Use minCompileSdk() instead.

Property<CompileSdkVersion>

Do not set this property directly.

Public functions

minCompileSdk

Added in 9.2.0-alpha02
fun minCompileSdk(action: MinCompileSdkSpec.() -> Unit): Unit

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
Deprecated in 9.2.0-alpha02
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
Deprecated in 9.2.0-alpha02
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.

minCompileSdkVersion

Added in 9.2.0-alpha02
val minCompileSdkVersionProperty<CompileSdkVersion>

Do not set this property directly. Use minCompileSdk instead.