Stay organized with collections
Save and categorize content based on your preferences.
interface AarMetadata
Variant object for configuring AAR metadata.
Summary
Properties
|
abstract Property<String> |
Minimum Android Gradle Plugin version needed to consume this library.
|
abstract Property<Int> |
Minimum compileSdkVersion needed to consume this library.
|
Properties
minAgpVersion
abstract 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
abstract 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.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# AarMetadata\n===========\n\n```\ninterface AarMetadata\n```\n\n|------------------------------------------------|\n| [com.android.build.api.variant.AarMetadata](#) |\n\nVariant object for configuring AAR metadata.\n\nSummary\n-------\n\n| ### Properties ||\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------|\n| abstract [Property](https://docs.gradle.org/current/javadoc/org/gradle/api/provider/Property.html)\\\u003c[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)\\\u003e | [minAgpVersion](#minAgpVersion:org.gradle.api.provider.Property) Minimum Android Gradle Plugin version needed to consume this library. |\n| abstract [Property](https://docs.gradle.org/current/javadoc/org/gradle/api/provider/Property.html)\\\u003c[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)\\\u003e | [minCompileSdk](#minCompileSdk:org.gradle.api.provider.Property) Minimum compileSdkVersion needed to consume this library. |\n\nProperties\n----------\n\n### minAgpVersion\n\n```\nabstract val minAgpVersion: Property\u003cString\u003e\n```\n\nMinimum Android Gradle Plugin version needed to consume this library. This is the minimum AGP\nversion a module must use in order to import this library.\n\nminAgpVersion must be a stable AGP version, and it must be formatted with major, minor, and\nmicro values (for example, \"4.0.0\"). \n\n### minCompileSdk\n\n```\nabstract val minCompileSdk: Property\u003cInt\u003e\n```\n\nMinimum compileSdkVersion needed to consume this library. This is the minimum sdk version a\nmodule must use in order to import this library."]]