Google is committed to advancing racial equity for Black communities. See how.

InstrumentationScope

@Incubating enum class InstrumentationScope
kotlin.Any
   ↳ kotlin.Enum<com.android.build.api.instrumentation.InstrumentationScope>
   ↳ com.android.build.api.instrumentation.InstrumentationScope

Summary

Enum values

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

Instrument the classes of the current project only.

Enum values

ALL

enum val 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

enum val PROJECT : InstrumentationScope

Instrument the classes of the current project only.

Libraries that this project depends on will not be instrumented.