Package net.fabricmc.loom.build.mixin
Class AnnotationProcessorInvoker<T extends org.gradle.api.Task>
java.lang.Object
net.fabricmc.loom.build.mixin.AnnotationProcessorInvoker<T>
- Direct Known Subclasses:
JavaApInvoker,KaptApInvoker,ScalaApInvoker
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 Summary
FieldsModifier and TypeFieldDescriptionprotected org.gradle.api.tasks.TaskCollection<T>protected org.gradle.api.Project -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAnnotationProcessorInvoker(org.gradle.api.Project project, Collection<org.gradle.api.artifacts.Configuration> annotationProcessorConfigurations, org.gradle.api.tasks.TaskCollection<T> invokerTasks) -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected abstract FilegetDestinationDir(T task)protected StringgetRefmapDestination(T task, LoomGradleExtension extension)protected abstract voidpassArgument(T compileTask, String key, String value)
-
Field Details
-
project
protected final org.gradle.api.Project project -
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
-
getDestinationDir
-
getRefmapDestination
protected final String getRefmapDestination(T task, LoomGradleExtension extension) throws IOException- Throws:
IOException
-
configureMixin
public void configureMixin()
-