saker.android Documentation TaskDoc JavaDoc Packages
Performs AIDL (Android Interface Definition Language) compilation. The task uses the aidl tool that comes with the Android SDK to compile the input .aidl files. The tasks takes the source directories as the input, and generates the Java source files accordingly. The .aidl files should be in the appropriate package hierarchy in each source directory.
Summary
Parameters
IdentifierSpecifies an identifier for the AIDL compilation.
SDKsSpecifies the SDKs (Software Development Kits) used by the task.
SourceDirectories
Required parameter.
Specifies the source directories containing the .aidl files.
Parameters
Specifies an identifier for the AIDL compilation. The identifier will be used to uniquely identify this compilation, and to generate the output directory name.
Specifies the SDKs (Software Development Kits) used by the task. SDKs represent development kits that are available in the build environment and to the task. They are used to find the necessary tools to perform the necessary operations. You should specify the AndroidBuildTools and AndroidPlatform SDKs so the build tasks can find the relevant tools to perform their operations. If you don't specify these SDKs, then the build tasks will attempt to locate them automatically. If they fail to do so, an exception is thrown. You can use the saker.android.sdk.buildtools() and saker.android.sdk.platform() tasks to retrieve SDKs with specific versions. The SDK names are compared in a case-insensitive way.
Aliases:
SourceDirectory
Required parameter.
Specifies the source directories containing the .aidl files. The parameter accepts one or more paths to the AIDL source directories which contain the .aidl files that should be compiled. The .aidl files should be in a directory hierarchy respective to their enclosing package name. E.g. A service called com.example.IRemoteService should be in the com/example/IRemoteService.aidl file.