public interface TargetBuildTypeAwareComponent
Modifier and Type | Method and Description |
---|---|
default TargetBuildTypeFactory |
getBuildTypes()
Returns a factory to create target linkages when configuring
getTargetBuildTypes() . |
SetProperty<TargetBuildType> |
getTargetBuildTypes()
Specifies the target build type this component should be built for.
|
SetProperty<TargetBuildType> getTargetBuildTypes()
getBuildTypes()
property (see TargetBuildTypeFactory
) can be used to construct common build types.
For example:
targetBuildTypes = [buildTypes.named('debug'), buildTypes.named('release')]
TargetBuildType
, never null.default TargetBuildTypeFactory getBuildTypes()
getTargetBuildTypes()
.TargetBuildTypeFactory
for creating TargetBuildType
instance, never null.