Interface ForgeGradleExtensionForProject
- All Superinterfaces:
ForgeGradleExtension
Project-specific additions for the ForgeGradle extension. These will be accessible from the
fg DSL object within your project's buildscript.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface ForgeGradleExtension
ForgeGradleExtension.Attributes -
Field Summary
Fields inherited from interface ForgeGradleExtension
NAME -
Method Summary
Modifier and TypeMethodDescriptionorg.gradle.api.file.FileCollectionfindAccessTransformers(Object files) Attempts to locate and extract any Access Transformer configurations from archives.org.gradle.api.file.FileCollectionfindAccessTransformers(org.gradle.api.file.FileCollection files) Attempts to locate and extract any Access Transformer configurations from archives.org.gradle.api.file.FileCollectionfindFacades(Object files) Attempts to locate and extract any Facade configurations from archives.org.gradle.api.file.FileCollectionfindFacades(org.gradle.api.file.FileCollection files) Attempts to locate and extract any Facade configurations from archives.org.gradle.api.file.FileCollectionAttempts to locate and extract a file inside archives.org.gradle.api.file.FileCollectionAttempts to locate and extract a file inside archives.Methods inherited from interface ForgeGradleExtension
getAttributes, getForgeMaven, getMinecraftLibsMaven
-
Method Details
-
findFiles
-
findFiles
Attempts to locate and extract a file inside archives.- Parameters:
files- The files to search, any non-archives (zip, or jar) will be ignoredname- The exact name to search for in archives
-
findAccessTransformers
Attempts to locate and extract any Access Transformer configurations from archives. Configurations will be located via:
- A Space Separated list in the Manifest entry
FMLAT - The
mods.accessTransformersentry in mods.toml a configuration file - The default location of META-INF/accesstransformer.cfg
- Parameters:
files- The files to search, accepts anything that can be passed toProject.files(Object...)
- A Space Separated list in the Manifest entry
-
findAccessTransformers
org.gradle.api.file.FileCollection findAccessTransformers(org.gradle.api.file.FileCollection files) Attempts to locate and extract any Access Transformer configurations from archives. Configurations will be located via:
- A Space Separated list in the Manifest entry
FMLAT - The
mods.accessTransformersentry in mods.toml a configuration file - The default location of META-INF/accesstransformer.cfg
- Parameters:
files- The files to search, any non-archives (zip, or jar) will be ignored
- A Space Separated list in the Manifest entry
-
findFacades
Attempts to locate and extract any Facade configurations from archives. Configurations will be located via:
- A Space Separated list in the Manifest entry
FORGE_FACADE - The default location of META-INF/facades.cfg
- Parameters:
files- The files to search, accepts anything that can be passed toProject.files(Object...)
- A Space Separated list in the Manifest entry
-
findFacades
org.gradle.api.file.FileCollection findFacades(org.gradle.api.file.FileCollection files) Attempts to locate and extract any Facade configurations from archives. Configurations will be located via:
- A Space Separated list in the Manifest entry
FORGE_FACADE - The default location of META-INF/facades.cfg
- Parameters:
files- The files to search, any non-archives (zip, or jar) will be ignored
- A Space Separated list in the Manifest entry
-