AarMetadata

public interface AarMetadata


Variant object for configuring AAR metadata.

Summary

Public methods

abstract @NonNull Property<@NonNull String>

Minimum Android Gradle Plugin version needed to consume this library.

abstract @NonNull Property<@NonNull Integer>

Minimum compileSdkVersion needed to consume this library.

abstract @NonNull Property<@NonNull Integer>

Minimum compileSdkExtension needed to consume this library.

Public methods

getMinAgpVersion

@Incubating
abstract @NonNull Property<@NonNull StringgetMinAgpVersion()

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").

getMinCompileSdk

abstract @NonNull Property<@NonNull IntegergetMinCompileSdk()

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

getMinCompileSdkExtension

@Incubating
abstract @NonNull Property<@NonNull IntegergetMinCompileSdkExtension()

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.