# SdkComponents

[View Source](https://cs.android.com/search?q=file:com/android/build/api/dsl/SdkComponents.kt+class:com.android.build.api.dsl.SdkComponents) Added in 4.2.0


```
interface SdkComponents
```

<br />

*** ** * ** ***

## Summary

| ### Public properties |
|---|---|
| `https://docs.gradle.org/current/javadoc/org/gradle/api/provider/Provider.html<https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/Aapt2>` | `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/dsl/SdkComponents#aapt2()` Provides access to AAPT2 |
| `https://docs.gradle.org/current/javadoc/org/gradle/api/provider/Provider.html<https://docs.gradle.org/current/javadoc/org/gradle/api/file/RegularFile.html>` | `https://developer.android.com/reference/tools/gradle-api/9.6/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. |
| `https://docs.gradle.org/current/javadoc/org/gradle/api/provider/Provider.html<https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/Aidl>` | `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/dsl/SdkComponents#aidl()` Provides access to aidl tools |
| `https://docs.gradle.org/current/javadoc/org/gradle/api/provider/Provider.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://docs.gradle.org/current/javadoc/org/gradle/api/file/RegularFile.html>>` | `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/dsl/SdkComponents#bootClasspath()` The bootclasspath that will be used to compile classes in this project. |
| `https://docs.gradle.org/current/javadoc/org/gradle/api/provider/Provider.html<https://docs.gradle.org/current/javadoc/org/gradle/api/file/Directory.html>` | `https://developer.android.com/reference/tools/gradle-api/9.6/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. |
| `https://docs.gradle.org/current/javadoc/org/gradle/api/provider/Provider.html<https://docs.gradle.org/current/javadoc/org/gradle/api/file/Directory.html>` | `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/dsl/SdkComponents#sdkDirectory()` The path to the Android SDK that Gradle uses for this project. |

## Public properties

### aapt2

Added in 8.10.1

```
val aapt2: Provider<Aapt2>
```

Provides access to AAPT2

The returned `https://docs.gradle.org/current/javadoc/org/gradle/api/provider/Provider.html` can be used by tasks requiring AAPT2 as input with `https://docs.gradle.org/current/javadoc/org/gradle/api/tasks/Nested.html`. See `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/Aapt2` for more details.

### adb

Added in 4.2.0

```
val adb: Provider<RegularFile>
```

The path to the [Android Debug Bridge (ADB)](https://developer.android.com/studio/command-line/adb.html) executable from the Android SDK.

### aidl

Added in 8.1.0

```
val aidl: Provider<Aidl>
```

Provides access to aidl tools

The returned `https://docs.gradle.org/current/javadoc/org/gradle/api/provider/Provider.html` can be used by tasks requiring aidl tools as input with `https://docs.gradle.org/current/javadoc/org/gradle/api/tasks/Nested.html`. See `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/Aidl` for more details.

### bootClasspath

Added in 7.1.0

```
val bootClasspath: Provider<List<RegularFile>>
```

The bootclasspath that will be used to compile classes in this project.

The returned `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 `https://docs.gradle.org/current/javadoc/org/gradle/api/Task.html` input to do so.

### ndkDirectory

Added in 4.2.0

```
val ndkDirectory: Provider<Directory>
```

The path to the [Android NDK](https://developer.android.com/ndk/index.html) that Gradle uses for this project.

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

### sdkDirectory

Added in 4.2.0

```
val sdkDirectory: Provider<Directory>
```

The path to the Android SDK that Gradle uses for this project.

To 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)