Skip to content

Commit

Permalink
Add kotlin sources for maven-source-plugin (#820)
Browse files Browse the repository at this point in the history
  • Loading branch information
rnimour authored Jul 19, 2024
1 parent 160d7ee commit e70b6d1
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 @@ -245,6 +245,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 e70b6d1

Please sign in to comment.