summaryrefslogtreecommitdiff
path: root/build-system/gradle-api/src/main/java/com/android/build/api/dsl/ManagedDevices.kt
diff options
context:
space:
mode:
Diffstat (limited to 'build-system/gradle-api/src/main/java/com/android/build/api/dsl/ManagedDevices.kt')
-rw-r--r--build-system/gradle-api/src/main/java/com/android/build/api/dsl/ManagedDevices.kt10
1 files changed, 10 insertions, 0 deletions
diff --git a/build-system/gradle-api/src/main/java/com/android/build/api/dsl/ManagedDevices.kt b/build-system/gradle-api/src/main/java/com/android/build/api/dsl/ManagedDevices.kt
index 4f0112f16e..51558d7247 100644
--- a/build-system/gradle-api/src/main/java/com/android/build/api/dsl/ManagedDevices.kt
+++ b/build-system/gradle-api/src/main/java/com/android/build/api/dsl/ManagedDevices.kt
@@ -17,6 +17,7 @@
package com.android.build.api.dsl
import org.gradle.api.ExtensiblePolymorphicDomainObjectContainer
+import org.gradle.api.Incubating
import org.gradle.api.NamedDomainObjectContainer
/** Options for Managed Devices */
@@ -37,6 +38,15 @@ interface ManagedDevices {
val devices: ExtensiblePolymorphicDomainObjectContainer<Device>
/**
+ * Convenience container for specifying managed devices of type [ManagedVirtualDevice].
+ *
+ * This list is managed in sync with [allDevices]. [ManagedVirtualDevice] definitions added or
+ * removed in this container are correspondingly handled in [allDevices], and vice versa.
+ */
+ @get: Incubating
+ val localDevices: NamedDomainObjectContainer<ManagedVirtualDevice>
+
+ /**
* List of DeviceGroups to create tasks for.
*
* These APIs are experimental and may change without notice.