Skip to content

Commit

Permalink
backport: build-helper-maven-plugin to attach kotlin sources (#822)
Browse files Browse the repository at this point in the history
  • Loading branch information
rnimour committed Jul 19, 2024
1 parent bad1ae4 commit 6e7d8ab
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,25 @@
</execution>
</executions>
</plugin>

<!-- add kotlin sources for the maven-source-plugin (need this for mixed java/kotlin sources) -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>src/main/kotlin</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit 6e7d8ab

Please sign in to comment.