Interface AnnotationProcessingConfigBuilder

All Known Implementing Classes:
AnnotationProcessing

public interface AnnotationProcessingConfigBuilder
Allows configuration of annotation processing.
  • Method Details

    • incremental

      AnnotationProcessingConfigBuilder incremental(boolean incremental)
      Whether incremental processing is enabled.
      Parameters:
      incremental - True if incremental processing is enabled
      Returns:
      This builder
    • module

      The module name to use. Default to the gradle project name.
      Parameters:
      name - The module name
      Returns:
      This builder
    • group

      The group name being used. Defaults to the gradle group name.
      Parameters:
      name - The group name
      Returns:
      This builder
    • annotations

      AnnotationProcessingConfigBuilder annotations(String... annotations)
      The annotation patterns to include in processing.
      Parameters:
      annotations - The annotation patterns
      Returns:
      This builder
    • sourceSets

      AnnotationProcessingConfigBuilder sourceSets(org.gradle.api.tasks.SourceSet... sourceSets)
      Additional source sets to apply processing to.
      Parameters:
      sourceSets - The source sets
      Returns:
      This builder