ApkOutputProviders

Added in 8.9.0-alpha06

@Incubating
interface ApkOutputProviders


Summary

Public functions

Unit
@Incubating
<TaskT : Task> provideApkOutputToTask(
    taskProvider: TaskProvider<TaskT>,
    taskInput: (TaskT) -> Property<ApkOutput>,
    deviceSpec: DeviceSpec
)

Add Variant's Apk Output for a specific device specification to a Task.

Public functions

provideApkOutputToTask

Added in 8.9.0-alpha06
@Incubating
fun <TaskT : Task> provideApkOutputToTask(
    taskProvider: TaskProvider<TaskT>,
    taskInput: (TaskT) -> Property<ApkOutput>,
    deviceSpec: DeviceSpec
): Unit

Add Variant's Apk Output for a specific device specification to a Task. The Apk Output includes an ordered collection of batches of Apks to install on a device that matches the device specification available at the configuration time.

Parameters
taskProvider: TaskProvider<TaskT>

the TaskProvider returned by Gradle's Task manager when registering the Task of type TaskT.

taskInput: (TaskT) -> Property<ApkOutput>

The method reference the TaskT will use to retrieve the current artifact

deviceSpec: DeviceSpec

the device specification