Class TransitiveAccessWidenerJarProcessor
java.lang.Object
net.fabricmc.loom.configuration.accesswidener.TransitiveAccessWidenerJarProcessor
- All Implemented Interfaces:
JarProcessor
Applies transitive access wideners that are inherited from mod and api dependencies.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()Returns a unique ID for this jar processor, containing all configuration details.booleanisEmpty()booleanReturn true to make all jar processors run again, return false to use the existing results of jar processing.voidCurrently this is a destructive process that replaces the existing jar.voidsetup()
-
Constructor Details
-
TransitiveAccessWidenerJarProcessor
public TransitiveAccessWidenerJarProcessor(org.gradle.api.Project project)
-
-
Method Details
-
setup
public void setup()- Specified by:
setupin interfaceJarProcessor
-
isEmpty
public boolean isEmpty() -
getId
Description copied from interface:JarProcessorReturns a unique ID for this jar processor, containing all configuration details.If the jar processor implementation class supports creating multiple jar processors with different effects, the needed configuration should also be included in this ID. Example:
path.to.MyJarProcessor#someOption.- Specified by:
getIdin interfaceJarProcessor- Returns:
- the ID of this jar processor
-
process
Description copied from interface:JarProcessorCurrently this is a destructive process that replaces the existing jar.- Specified by:
processin interfaceJarProcessor
-
isInvalid
Description copied from interface:JarProcessorReturn true to make all jar processors run again, return false to use the existing results of jar processing.- Specified by:
isInvalidin interfaceJarProcessor
-