Interface AccessTransformersContainer
- All Known Subinterfaces:
AccessTransformersExtension
public sealed interface AccessTransformersContainer
permits AccessTransformersExtension (not exhaustive)
Represents a container of dependencies that will be access transformed.
Containers are created with AccessTransformersExtension.register(Action). Dependencies can be registered to it
inside their configuring closures using configure(java.lang.Object).
- See Also:
- API Note:
- This interface is effectively sealed and must not be extended.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceWhen initially registering an AccessTransformers container, the consumer should define key information regarding how AccessTransformers will be used. -
Method Summary
Modifier and TypeMethodDescriptiondefault voidConfigures the given dependency to use this AccessTransformers container.voidconfigure(Object dependency, org.gradle.api.Action<? super AccessTransformersConfiguration> action) Configures the given dependency to use this AccessTransformers container.Gets the access transformer options.default voidoptions(org.gradle.api.Action<? super AccessTransformersContainer.Options> action) Configures the access transformer options.
-
Method Details
-
getOptions
AccessTransformersContainer.Options getOptions()Gets the access transformer options.- Returns:
- The options
- See Also:
-
options
Configures the access transformer options.- Parameters:
action- The configuring action- See Also:
-
configure
Configures the given dependency to use this AccessTransformers container.- Parameters:
dependency- The dependency to configure AccessTransformers for
-
configure
void configure(Object dependency, org.gradle.api.Action<? super AccessTransformersConfiguration> action) Configures the given dependency to use this AccessTransformers container.- Parameters:
dependency- The dependency to configure AccessTransformers foraction- A configuring action to modify dependency-level AccessTransformer options
-