Add Dagger kapt support

master
Graham 5 years ago
parent b2ab318692
commit c575ef2a9a
  1. 28
      pom.xml

@ -168,6 +168,34 @@
</annotationProcessorPaths>
</configuration>
</plugin>
<plugin>
<groupId>org.jetbrains.kotlin</groupId>
<!--suppress KotlinMavenPluginPhase -->
<artifactId>kotlin-maven-plugin</artifactId>
<configuration>
<annotationProcessorPaths>
<path>
<groupId>com.google.dagger</groupId>
<artifactId>dagger-compiler</artifactId>
<version>2.25.3</version>
</path>
</annotationProcessorPaths>
</configuration>
<executions>
<execution>
<id>kapt</id>
<goals>
<goal>kapt</goal>
</goals>
</execution>
<execution>
<id>test-kapt</id>
<goals>
<goal>test-kapt</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

Loading…
Cancel
Save