Class AnnotationProcessorInvoker<T extends org.gradle.api.Task>

java.lang.Object
net.fabricmc.loom.build.mixin.AnnotationProcessorInvoker<T>
Direct Known Subclasses:
JavaApInvoker, KaptApInvoker, ScalaApInvoker

public abstract class AnnotationProcessorInvoker<T extends org.gradle.api.Task> extends Object
Normally javac invokes annotation processors, but when the scala or kapt plugin are installed they will want to invoke the annotation processor themselves. See Java and Kapt implementations for a more deep understanding of the things passed by the children.
  • Field Details

    • project

      protected final org.gradle.api.Project project
    • invokerTasks

      protected final org.gradle.api.tasks.TaskCollection<T extends org.gradle.api.Task> invokerTasks
  • Constructor Details

    • AnnotationProcessorInvoker

      protected AnnotationProcessorInvoker(org.gradle.api.Project project, Collection<org.gradle.api.artifacts.Configuration> annotationProcessorConfigurations, org.gradle.api.tasks.TaskCollection<T> invokerTasks)
  • Method Details

    • passArgument

      protected abstract void passArgument(T compileTask, String key, String value)
    • getDestinationDir

      protected abstract File getDestinationDir(T task)
    • getRefmapDestination

      protected final String getRefmapDestination(T task, LoomGradleExtension extension) throws IOException
      Throws:
      IOException
    • configureMixin

      public void configureMixin()