# AarMetadata

# AarMetadata

<br />

```
interface AarMetadata
```

<br />

*** ** * ** ***

Variant object for configuring AAR metadata.

## Summary

|                                                                                                                                                                                         ### Public properties                                                                                                                                                                                          ||
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Property](https://docs.gradle.org/current/javadoc/org/gradle/api/provider/Property.html)`<`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`>` | [minAgpVersion](https://developer.android.com/reference/tools/gradle-api/8.1/com/android/build/api/variant/AarMetadata#minAgpVersion()) Minimum Android Gradle Plugin version needed to consume this library.         |
| [Property](https://docs.gradle.org/current/javadoc/org/gradle/api/provider/Property.html)`<`[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`>`       | [minCompileSdk](https://developer.android.com/reference/tools/gradle-api/8.1/com/android/build/api/variant/AarMetadata#minCompileSdk()) Minimum compileSdkVersion needed to consume this library.                     |
| [Property](https://docs.gradle.org/current/javadoc/org/gradle/api/provider/Property.html)`<`[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`>`       | [minCompileSdkExtension](https://developer.android.com/reference/tools/gradle-api/8.1/com/android/build/api/variant/AarMetadata#minCompileSdkExtension()) Minimum compileSdkExtension needed to consume this library. |

## Public properties

### minAgpVersion

```
val minAgpVersion: Property<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

```
val minCompileSdk: Property<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

```
val minCompileSdkExtension: Property<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](https://developer.android.com/reference/tools/gradle-api/8.1/com/android/build/api/variant/AarMetadata#minCompileSdkExtension())is 0 if not set via the DSL.