Interface MixinApExtensionAPI

All Known Subinterfaces:
MixinApExtension
All Known Implementing Classes:
MixinApExtensionApiImpl, MixinApExtensionImpl

@Experimental public interface MixinApExtensionAPI
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add​(String sourceSetName)
    Apply Mixin AP to sourceSet.
    void
    add​(String sourceSetName, String refmapName)
    Apply Mixin AP to sourceSet.
    void
    add​(String sourceSetName, String refmapName, org.gradle.api.Action<org.gradle.api.tasks.util.PatternSet> action)
    Apply Mixin AP to sourceSet.
    void
    add​(String sourceSetName, org.gradle.api.Action<org.gradle.api.tasks.util.PatternSet> action)
    Apply Mixin AP to sourceSet.
    void
    add​(org.gradle.api.tasks.SourceSet sourceSet)
    Apply Mixin AP to sourceSet.
    void
    add​(org.gradle.api.tasks.SourceSet sourceSet, String refmapName)
    Apply Mixin AP to sourceSet.
    void
    add​(org.gradle.api.tasks.SourceSet sourceSet, String refmapName, org.gradle.api.Action<org.gradle.api.tasks.util.PatternSet> action)
    Apply Mixin AP to sourceSet.
    void
    add​(org.gradle.api.tasks.SourceSet sourceSet, org.gradle.api.Action<org.gradle.api.tasks.util.PatternSet> action)
    Apply Mixin AP to sourceSet.
  • Method Details

    • add

      void add(org.gradle.api.tasks.SourceSet sourceSet, String refmapName, org.gradle.api.Action<org.gradle.api.tasks.util.PatternSet> action)
      Apply Mixin AP to sourceSet.
      Parameters:
      sourceSet - the sourceSet that applies Mixin AP.
      refmapName - the output ref-map name. By default this will be LoomGradleExtensionAPI.getRefmapName()
      action - used for filter the mixin json files. By default this will be all files with name *.mixins.json that is inside the resources folder of sourceSet.
    • add

      void add(org.gradle.api.tasks.SourceSet sourceSet, String refmapName)
      Apply Mixin AP to sourceSet. See add(SourceSet, String, Action) for more detail.
      Parameters:
      sourceSet - the sourceSet that applies Mixin AP.
      refmapName - the output ref-map name.
    • add

      void add(org.gradle.api.tasks.SourceSet sourceSet, org.gradle.api.Action<org.gradle.api.tasks.util.PatternSet> action)
      Apply Mixin AP to sourceSet. See add(SourceSet, String, Action) for more detail.
      Parameters:
      sourceSet - the sourceSet that applies Mixin AP.
      action - used for filter the mixin json files.
    • add

      void add(org.gradle.api.tasks.SourceSet sourceSet)
      Apply Mixin AP to sourceSet. See add(SourceSet, String, Action) for more detail.
      Parameters:
      sourceSet - the sourceSet that applies Mixin AP.
    • add

      void add(String sourceSetName, String refmapName, org.gradle.api.Action<org.gradle.api.tasks.util.PatternSet> action)
      Apply Mixin AP to sourceSet. See add(SourceSet, String, Action) for more detail.
      Parameters:
      sourceSetName - the name of sourceSet that applies Mixin AP.
      refmapName - the output ref-map name.
      action - used for filter the mixin json files.
    • add

      void add(String sourceSetName, String refmapName)
      Apply Mixin AP to sourceSet. See add(SourceSet, String, Action) for more detail.
      Parameters:
      sourceSetName - the name of sourceSet that applies Mixin AP.
      refmapName - the output ref-map name.
    • add

      void add(String sourceSetName, org.gradle.api.Action<org.gradle.api.tasks.util.PatternSet> action)
      Apply Mixin AP to sourceSet. See add(SourceSet, String, Action) for more detail.
      Parameters:
      sourceSetName - the name of sourceSet that applies Mixin AP.
      action - used for filter the mixin json files.
    • add

      void add(String sourceSetName)
      Apply Mixin AP to sourceSet. See add(SourceSet, String, Action) for more detail.
      Parameters:
      sourceSetName - the name of sourceSet that applies Mixin AP.