Skip to content

Commit

Permalink
backport: build-helper-maven-plugin to attach kotlin sources (#821)
Browse files Browse the repository at this point in the history
  • Loading branch information
rnimour authored Jul 19, 2024
1 parent 016a441 commit 5d3a4e5
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 @@ -289,6 +289,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 5d3a4e5

Please sign in to comment.