Aapt2

Added in 8.10.0-alpha06

@Incubating
interface Aapt2


Provides structured access to AAPT tool.

An instance of Aapt2 can be obtained via AndroidComponentsExtension.sdkComponents

Summary

Public properties

Provider<RegularFile>

Path to the AAPT2 executable file from the Android SDK

Provider<String>

Version of build tools.

Public properties

executable

Added in 8.10.0-alpha06
val executableProvider<RegularFile>

Path to the AAPT2 executable file from the Android SDK

version

Added in 8.10.0-alpha06
val versionProvider<String>

Version of build tools. It is used as an input to allow correct build cache behaviour across different platforms