Interface MixinExtensionAPI

All Known Subinterfaces:
MixinExtension
All Known Implementing Classes:
MixinExtensionApiImpl, MixinExtensionImpl

@Experimental public interface MixinExtensionAPI
  • 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.
    org.gradle.api.provider.Property<String>
     
    org.gradle.api.provider.Property<Boolean>
     
  • Method Details

    • getUseLegacyMixinAp

      org.gradle.api.provider.Property<Boolean> getUseLegacyMixinAp()
    • getDefaultRefmapName

      org.gradle.api.provider.Property<String> getDefaultRefmapName()
    • 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 getDefaultRefmapName()
      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.