Interface StrawberryExtension
- All Known Implementing Classes:
StrawberryExtensionImpl
public interface StrawberryExtension
Extension exposing extra functionality provided by Strawberry.
-
Method Summary
Modifier and TypeMethodDescriptionvoidminecraft(org.gradle.api.Action<MinecraftExtension> action) default voidAdd a class relocator that maps each class in the pattern to the provided destination.default voidrelocate(String pattern, String destination, org.gradle.api.Action<com.github.jengelman.gradle.plugins.shadow.relocation.SimpleRelocator> configure) Add a class relocator that maps each class in the pattern to the provided destination.org.gradle.api.provider.SetProperty<Relocation> The relocations to be made in this project.
-
Method Details
-
relocations
The relocations to be made in this project.- Returns:
- a set property providing the relocations
-
relocate
-
relocate
default void relocate(@Nonnull String pattern, @Nonnull String destination, @Nullable org.gradle.api.Action<com.github.jengelman.gradle.plugins.shadow.relocation.SimpleRelocator> configure) Add a class relocator that maps each class in the pattern to the provided destination.- Parameters:
pattern- the source pattern to relocatedestination- the destination packageconfigure- the configuration of the relocator
-
minecraft
-
minecraft
-