To use auto-pipeline, you must add both the auto-pipeline-annotations dependency (for the @AutoPipeline annotation) and configure the auto-pipeline-processor in your build tool's annotation processor path.
Prerequisites:
### For Maven
```xml
<dependencies>
<!-- @AutoPipeline annotation -->
<dependency>
<groupId>com.foldright.auto-pipeline</groupId>
<artifactId>auto-pipeline-annotations</artifactId>
<version>0.4.0</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<!-- Configure the annotation processor -->
<annotationProcessorPaths>
<path>
<groupId>com.foldright.auto-pipeline</groupId>
<artifactId>auto-pipeline-processor</artifactId>
<version>0.4.0</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
</plugins>
</build>
For Gradle (Kotlin DSL)
compileOnly("com.foldright.auto-pipeline:auto-pipeline-annotations:0.4.0")
// auto-pipeline annotation processor will generate pipeline classes for interfaces
annotationProcessor("com.foldright.auto-pipeline:auto-pipeline-processor:0.4.0")
For Gradle (Groovy DSL)
compileOnly 'com.foldright.auto-pipeline:auto-pipeline-annotations:0.4.0'
annotationProcessor 'com.foldright.auto-pipeline:auto-pipeline-processor:0.4.0'