Interface MinecraftDependencyWithAccessTransformers
- All Superinterfaces:
MinecraftDependency,MinecraftMappingsContainer
- All Known Subinterfaces:
ClosureOwner.MinecraftDependencyWithAccessTransformers
public sealed interface MinecraftDependencyWithAccessTransformers
extends MinecraftDependency
permits ClosureOwner.MinecraftDependencyWithAccessTransformers (not exhaustive)
An extension of
MinecraftDependency that contains additional convenience methods for working with
AccessTransformers.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidaccessTransformer(Action<? super net.minecraftforge.accesstransformers.gradle.AccessTransformersContainer.Options> options) Configures the AccessTransformer options for this project.voidsetAccessTransformer(File configFile) Sets the AccessTransformer configuration to use.voidsetAccessTransformer(Object configFile) Sets the AccessTransformer configuration to use.voidsetAccessTransformer(RegularFile configFile) Sets the AccessTransformer configuration to use.voidsetAccessTransformer(Provider<?> configFile) Sets the AccessTransformer configuration to use.Methods inherited from interface net.minecraftforge.gradle.MinecraftMappingsContainer
getMappings, mappings, mappings
-
Method Details
-
setAccessTransformer
Sets the AccessTransformer configuration to use.- Parameters:
configFile- The configuration file to use
-
setAccessTransformer
Sets the AccessTransformer configuration to use.- Parameters:
configFile- The configuration file to use
-
setAccessTransformer
Sets the AccessTransformer configuration to use.
The given object is resolved using
Project.file(Object).- Parameters:
configFile- The configuration file to use
-
setAccessTransformer
Sets the AccessTransformer configuration to use.
If the given provider does not provide a file or regular file, the result will be resolved using
Project.file(Object), similarly tosetAccessTransformer(Object).- Parameters:
configFile- The configuration file to use
-
accessTransformer
void accessTransformer(Action<? super net.minecraftforge.accesstransformers.gradle.AccessTransformersContainer.Options> options) Configures the AccessTransformer options for this project.- Parameters:
options- The options to apply
-