Interface ClosureOwner
- All Known Subinterfaces:
ClosureOwner.MinecraftDependency
public interface ClosureOwner
A closure owner is used to replace a closure's owner to allow for multiple delegates.
This is done to allow for buildscript authors to work with an abstraction that implements multiple interfaces
without needing to create an object that does so. For example, the MinecraftDependency
implementation is not itself an ExternalModuleDependency, but the ClosureOwner.MinecraftDependency closure owner provides an
abstraction that delegates to both of those interfaces simultaneously.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA closure owner that delegates toMinecraftDependencyandExternalModuleDependency.