# QualifiedContent.Scope

# Scope

```
class Scope : QualifiedContent.ScopeType
```

|---|---|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [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.transform.QualifiedContent.Scope](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/transform/QualifiedContent.Scope#)\> ||
|   | ↳ | [com.android.build.api.transform.QualifiedContent.Scope](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/transform/QualifiedContent.Scope#) |

|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Known Direct Subclasses [QualifiedContent.Scope.EXTERNAL_LIBRARIES](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/transform/QualifiedContent.Scope#ENUM_VALUE:EXTERNAL_LIBRARIES),[QualifiedContent.Scope.PROJECT](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/transform/QualifiedContent.Scope#ENUM_VALUE:PROJECT),[QualifiedContent.Scope.PROJECT_LOCAL_DEPS](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/transform/QualifiedContent.Scope#ENUM_VALUE:PROJECT_LOCAL_DEPS),[QualifiedContent.Scope.PROVIDED_ONLY](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/transform/QualifiedContent.Scope#ENUM_VALUE:PROVIDED_ONLY),[QualifiedContent.Scope.SUB_PROJECTS](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/transform/QualifiedContent.Scope#ENUM_VALUE:SUB_PROJECTS),[QualifiedContent.Scope.SUB_PROJECTS_LOCAL_DEPS](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/transform/QualifiedContent.Scope#ENUM_VALUE:SUB_PROJECTS_LOCAL_DEPS),[QualifiedContent.Scope.TESTED_CODE](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/transform/QualifiedContent.Scope#ENUM_VALUE:TESTED_CODE) |----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------| | [QualifiedContent.Scope.EXTERNAL_LIBRARIES](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/transform/QualifiedContent.Scope#ENUM_VALUE:EXTERNAL_LIBRARIES)           | Only the external libraries                                              | | [QualifiedContent.Scope.PROJECT](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/transform/QualifiedContent.Scope#ENUM_VALUE:PROJECT)                                 | Only the project (module) content                                        | | [QualifiedContent.Scope.PROJECT_LOCAL_DEPS](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/transform/QualifiedContent.Scope#ENUM_VALUE:PROJECT_LOCAL_DEPS)           | Only the project's local dependencies (local jars)                       | | [QualifiedContent.Scope.PROVIDED_ONLY](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/transform/QualifiedContent.Scope#ENUM_VALUE:PROVIDED_ONLY)                     | Local or remote dependencies that are provided-only                      | | [QualifiedContent.Scope.SUB_PROJECTS](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/transform/QualifiedContent.Scope#ENUM_VALUE:SUB_PROJECTS)                       | Only the sub-projects (other modules)                                    | | [QualifiedContent.Scope.SUB_PROJECTS_LOCAL_DEPS](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/transform/QualifiedContent.Scope#ENUM_VALUE:SUB_PROJECTS_LOCAL_DEPS) | Only the sub-projects's local dependencies (local jars).                 | | [QualifiedContent.Scope.TESTED_CODE](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/transform/QualifiedContent.Scope#ENUM_VALUE:TESTED_CODE)                         | Code that is being tested by the current variant, including dependencies | |

The scope of the content.

This indicates what the content represents, so that Transforms can apply to only part(s) of the classes or resources that the build manipulates.

## Summary

|                                                                                                                ### Enum values                                                                                                                ||
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| [EXTERNAL_LIBRARIES](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/transform/QualifiedContent.Scope#ENUM_VALUE:EXTERNAL_LIBRARIES) Only the external libraries                                        |
| [PROJECT](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/transform/QualifiedContent.Scope#ENUM_VALUE:PROJECT) Only the project (module) content                                                        |
| [PROJECT_LOCAL_DEPS](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/transform/QualifiedContent.Scope#ENUM_VALUE:PROJECT_LOCAL_DEPS) Only the project's local dependencies (local jars)                 |
| [PROVIDED_ONLY](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/transform/QualifiedContent.Scope#ENUM_VALUE:PROVIDED_ONLY) Local or remote dependencies that are provided-only                          |
| [SUB_PROJECTS](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/transform/QualifiedContent.Scope#ENUM_VALUE:SUB_PROJECTS) Only the sub-projects (other modules)                                          |
| [SUB_PROJECTS_LOCAL_DEPS](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/transform/QualifiedContent.Scope#ENUM_VALUE:SUB_PROJECTS_LOCAL_DEPS) Only the sub-projects's local dependencies (local jars). |
| [TESTED_CODE](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/transform/QualifiedContent.Scope#ENUM_VALUE:TESTED_CODE) Code that is being tested by the current variant, including dependencies         |

|                                                                                                        ### Public methods                                                                                                         ||
|----------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [getValue](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/transform/QualifiedContent.Scope#getValue())`()` <br /> |

## Enum values

### EXTERNAL_LIBRARIES

```
enum val EXTERNAL_LIBRARIES : QualifiedContent.Scope
```

Only the external libraries  

### PROJECT

```
enum val PROJECT : QualifiedContent.Scope
```

Only the project (module) content  

### PROJECT_LOCAL_DEPS

```
enum val PROJECT_LOCAL_DEPS : QualifiedContent.Scope
```

**Deprecated:** *local dependencies are now processed as[EXTERNAL_LIBRARIES](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/transform/QualifiedContent.Scope#)*

Only the project's local dependencies (local jars)  

### PROVIDED_ONLY

```
enum val PROVIDED_ONLY : QualifiedContent.Scope
```

Local or remote dependencies that are provided-only  

### SUB_PROJECTS

```
enum val SUB_PROJECTS : QualifiedContent.Scope
```

Only the sub-projects (other modules)  

### SUB_PROJECTS_LOCAL_DEPS

```
enum val SUB_PROJECTS_LOCAL_DEPS : QualifiedContent.Scope
```

**Deprecated:** *local dependencies are now processed as[EXTERNAL_LIBRARIES](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/transform/QualifiedContent.Scope#)*

Only the sub-projects's local dependencies (local jars).  

### TESTED_CODE

```
enum val TESTED_CODE : QualifiedContent.Scope
```

Code that is being tested by the current variant, including dependencies

## Public methods

### getValue

```
fun getValue(): Int
```