SdkComponents

public interface SdkComponents


Summary

Public methods

abstract @NonNull Provider<@NonNull RegularFile>

The path to the Android Debug Bridge (ADB) executable from the Android SDK.

abstract @NonNull Provider<@NonNull Aidl>

Provides access to aidl tools

abstract @NonNull Provider<@NonNull List<@NonNull RegularFile>>

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

abstract @NonNull Provider<@NonNull Directory>

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

abstract @NonNull Provider<@NonNull Directory>

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

Public methods

getAdb

abstract @NonNull Provider<@NonNull RegularFilegetAdb()

The path to the Android Debug Bridge (ADB) executable from the Android SDK.

getAidl

@Incubating
abstract @NonNull Provider<@NonNull AidlgetAidl()

Provides access to aidl tools

The returned Provider can be used by tasks requiring aidl tools as input with org.gradle.api.tasks.Nested

getBootClasspath

abstract @NonNull Provider<@NonNull List<@NonNull RegularFile>> getBootClasspath()

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

The returned Provider can only be used at execution time and therefore must be used as a org.gradle.api.Task input to do so.

getNdkDirectory

abstract @NonNull Provider<@NonNull DirectorygetNdkDirectory()

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

You can install the Android NDK by either using the SDK manager or downloading the standalone NDK package.

getSdkDirectory

abstract @NonNull Provider<@NonNull DirectorygetSdkDirectory()

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