Scope

class Scope : QualifiedContent.ScopeType
kotlin.Any
   ↳ kotlin.Enum<com.android.build.api.transform.QualifiedContent.Scope>
   ↳ com.android.build.api.transform.QualifiedContent.Scope

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

Only the external libraries

Only the project (module) content

Only the project's local dependencies (local jars)

Local or remote dependencies that are provided-only

Only the sub-projects (other modules)

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

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

Public methods

Int

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

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

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