# DeviceGroup

[View Source](https://cs.android.com/search?q=file:com/android/build/api/dsl/DeviceGroup.kt+class:com.android.build.api.dsl.DeviceGroup) Added in 4.2.0


```
interface DeviceGroup : Named
```

<br />

*** ** * ** ***

A group of devices to be run with tests using the Unified Test Platform.

## Summary

| ### Public properties |
|---|---|
| `https://docs.gradle.org/current/javadoc/org/gradle/api/DomainObjectSet.html<https://developer.android.com/reference/tools/gradle-api/9.3/com/android/build/api/dsl/Device>` | `https://developer.android.com/reference/tools/gradle-api/9.3/com/android/build/api/dsl/DeviceGroup#targetDevices()` |

| ### Inherited functions |
|---|
| From [org.gradle.api.Named](https://docs.gradle.org/current/javadoc/org/gradle/api/Named.html) |---|---| | `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | `https://docs.gradle.org/current/javadoc/org/gradle/api/Named.html#getName--()` | |

## Public properties

### targetDevices

Added in 4.2.0

```
val targetDevices: DomainObjectSet<Device>
```