# InstrumentationScope

# InstrumentationScope

<br />

```
enum InstrumentationScope : Enum
```

<br />

|---|---|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                                                                                           |||
| ↳ | [kotlin.Enum](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html)                                                                                                      ||
|   | ↳ | [com.android.build.api.instrumentation.InstrumentationScope](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/instrumentation/InstrumentationScope) |

*** ** * ** ***

## Summary

|                                                                                                     ### Enum Values                                                                                                     ||
|--------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------|
| [ALL](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/instrumentation/InstrumentationScope#ALL)         | Instrument the classes of the current project and its library dependencies. |
| [PROJECT](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/instrumentation/InstrumentationScope#PROJECT) | Instrument the classes of the current project only.                         |

## Enum Values

### ALL

```
val InstrumentationScope.ALL: InstrumentationScope
```

Instrument the classes of the current project and its library dependencies.

This can't be applied to library projects, as instrumenting library dependencies will have no effect on library consumers.  

### PROJECT

```
val InstrumentationScope.PROJECT: InstrumentationScope
```

Instrument the classes of the current project only.

Libraries that this project depends on will not be instrumented.