Interface ForgeGradleExtensionForProject

All Superinterfaces:
ForgeGradleExtension

public interface ForgeGradleExtensionForProject extends 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 Type
    Method
    Description
    org.gradle.api.file.FileCollection
    Attempts to locate and extract any Access Transformer configurations from archives.
    org.gradle.api.file.FileCollection
    findAccessTransformers(org.gradle.api.file.FileCollection files)
    Attempts to locate and extract any Access Transformer configurations from archives.
    org.gradle.api.file.FileCollection
    Attempts to locate and extract any Facade configurations from archives.
    org.gradle.api.file.FileCollection
    findFacades(org.gradle.api.file.FileCollection files)
    Attempts to locate and extract any Facade configurations from archives.
    org.gradle.api.file.FileCollection
    findFiles(Object files, String name)
    Attempts to locate and extract a file inside archives.
    org.gradle.api.file.FileCollection
    findFiles(org.gradle.api.file.FileCollection files, String name)
    Attempts to locate and extract a file inside archives.
  • Method Details

    • findFiles

      org.gradle.api.file.FileCollection findFiles(Object files, String name)
      Attempts to locate and extract a file inside archives.
      Parameters:
      files - The files to search, accepts anything that can be passed to Project.files(Object...)
      name - The exact name to search for in archives
    • findFiles

      org.gradle.api.file.FileCollection findFiles(org.gradle.api.file.FileCollection files, String name)
      Attempts to locate and extract a file inside archives.
      Parameters:
      files - The files to search, any non-archives (zip, or jar) will be ignored
      name - The exact name to search for in archives
    • findAccessTransformers

      org.gradle.api.file.FileCollection findAccessTransformers(Object 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.accessTransformers entry 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 to Project.files(Object...)
    • 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.accessTransformers entry 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
    • findFacades

      org.gradle.api.file.FileCollection findFacades(Object 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, accepts anything that can be passed to Project.files(Object...)
    • 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