QualifiedContent.Scope

Added in 4.2.0
Deprecated in 7.0.0

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 functions

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

Returns the enum constant of this type with the specified name.

java-static Array<QualifiedContent.Scope!>!

Returns an array containing the constants of this enum type, in the order they're declared.

Public properties

Int

Inherited functions

From 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 functions

valueOf

Added in 4.2.0
java-static fun valueOf(name: String!): QualifiedContent.Scope!

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Returns
QualifiedContent.Scope!

the enum constant with the specified name

Throws
java.lang.IllegalArgumentException

if this enum type has no constant with the specified name

values

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

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.

Returns
Array<QualifiedContent.Scope!>!

an array containing the constants of this enum type, in the order they're declared

Public properties

value

Added in 8.8.0-beta01
Deprecated in 8.8.0-beta01
val valueInt