QualifiedContent.Scope

enum QualifiedContent.Scope : QualifiedContent.ScopeType


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

Only the external libraries

PROJECT

Only the project (module) content

PROJECT_LOCAL_DEPS

This enum value is deprecated.

local dependencies are now processed as EXTERNAL_LIBRARIES

PROVIDED_ONLY

Local or remote dependencies that are provided-only

SUB_PROJECTS

Only the sub-projects (other modules)

SUB_PROJECTS_LOCAL_DEPS

This enum value is deprecated.

local dependencies are now processed as EXTERNAL_LIBRARIES

TESTED_CODE

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

Public constructors

Public functions

java-static QualifiedContent.Scope!
valueOf(name: String!)
java-static Array<QualifiedContent.Scope!>!

Inherited functions

From class com.android.build.api.transform.QualifiedContent.ScopeType
abstract String!

Scope name, readable by humans.

Enum Values

EXTERNAL_LIBRARIES

val QualifiedContent.Scope.EXTERNAL_LIBRARIESQualifiedContent.Scope

Only the external libraries

PROJECT

val QualifiedContent.Scope.PROJECTQualifiedContent.Scope

Only the project (module) content

PROJECT_LOCAL_DEPS

val QualifiedContent.Scope.PROJECT_LOCAL_DEPSQualifiedContent.Scope

Only the project's local dependencies (local jars)

PROVIDED_ONLY

val QualifiedContent.Scope.PROVIDED_ONLYQualifiedContent.Scope

Local or remote dependencies that are provided-only

SUB_PROJECTS

val QualifiedContent.Scope.SUB_PROJECTSQualifiedContent.Scope

Only the sub-projects (other modules)

SUB_PROJECTS_LOCAL_DEPS

val QualifiedContent.Scope.SUB_PROJECTS_LOCAL_DEPSQualifiedContent.Scope

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

TESTED_CODE

val QualifiedContent.Scope.TESTED_CODEQualifiedContent.Scope

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

Public constructors

Scope

Scope()

Public functions

valueOf

java-static fun valueOf(name: String!): QualifiedContent.Scope!
Throws
java.lang.IllegalArgumentException: java.lang.IllegalArgumentException

values

java-static fun values(): Array<QualifiedContent.Scope!>!