Stay organized with collections
Save and categorize content based on your preferences.
SdkComponents
@Incubating interface SdkComponents
Summary
Public properties
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,["# SdkComponents\n=============\n\n\n```\n@Incubating interface SdkComponents\n```\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nSummary\n-------\n\n| ### Public properties ||\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Provider](https://docs.gradle.org/current/javadoc/org/gradle/api/provider/Provider.html)`\u003c`[RegularFile](https://docs.gradle.org/current/javadoc/org/gradle/api/file/RegularFile.html)`\u003e` | [adb](/reference/tools/gradle-api/7.2/com/android/build/api/dsl/SdkComponents#adb()) The path to the [Android Debug Bridge (ADB)](https://developer.android.com/studio/command-line/adb.html) executable from the Android SDK. |\n| [Provider](https://docs.gradle.org/current/javadoc/org/gradle/api/provider/Provider.html)`\u003c`[List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)`\u003c`[RegularFile](https://docs.gradle.org/current/javadoc/org/gradle/api/file/RegularFile.html)`\u003e\u003e` | [bootClasspath](/reference/tools/gradle-api/7.2/com/android/build/api/dsl/SdkComponents#bootClasspath()) The bootclasspath that will be used to compile classes in this project. |\n| [Provider](https://docs.gradle.org/current/javadoc/org/gradle/api/provider/Provider.html)`\u003c`[Directory](https://docs.gradle.org/current/javadoc/org/gradle/api/file/Directory.html)`\u003e` | [ndkDirectory](/reference/tools/gradle-api/7.2/com/android/build/api/dsl/SdkComponents#ndkDirectory()) The path to the [Android NDK](https://developer.android.com/ndk/index.html) that Gradle uses for this project. |\n| [Provider](https://docs.gradle.org/current/javadoc/org/gradle/api/provider/Provider.html)`\u003c`[Directory](https://docs.gradle.org/current/javadoc/org/gradle/api/file/Directory.html)`\u003e` | [sdkDirectory](/reference/tools/gradle-api/7.2/com/android/build/api/dsl/SdkComponents#sdkDirectory()) The path to the Android SDK that Gradle uses for this project. |\n\nPublic properties\n-----------------\n\n### adb\n\n```\nval adb: Provider\u003cRegularFile\u003e\n```\n\nThe path to the [Android Debug Bridge (ADB)](https://developer.android.com/studio/command-line/adb.html) executable from the Android SDK. \n\n### bootClasspath\n\n```\nval bootClasspath: Provider\u003cList\u003cRegularFile\u003e\u003e\n```\n\nThe bootclasspath that will be used to compile classes in this project.\n\nThe returned [Provider](https://docs.gradle.org/current/javadoc/org/gradle/api/provider/Provider.html) can only be used at execution time and therefore must be used as a [org.gradle.api.Task](https://docs.gradle.org/current/javadoc/org/gradle/api/Task.html) input to do so. \n\n### ndkDirectory\n\n```\nval ndkDirectory: Provider\u003cDirectory\u003e\n```\n\nThe path to the [Android NDK](https://developer.android.com/ndk/index.html) that Gradle uses for this project.\n\nYou can install the Android NDK by either [using the SDK manager](https://developer.android.com/studio/intro/update.html#sdk-manager) or downloading [the standalone NDK package](https://developer.android.com/ndk/downloads/index.html). \n\n### sdkDirectory\n\n```\nval sdkDirectory: Provider\u003cDirectory\u003e\n```\n\nThe path to the Android SDK that Gradle uses for this project.\n\nTo learn more about downloading and installing the Android SDK, read [Update Your Tools with the SDK Manager](https://developer.android.com/studio/intro/update.html#sdk-manager)"]]