Skip to content

Commit 335726a

Browse files
authored
Merge pull request #251 from jeffgbutler/master
Add Kotlin source to the source JAR
2 parents 8933332 + bc09e87 commit 335726a

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

pom.xml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,25 @@
161161
</mapping>
162162
</configuration>
163163
</plugin>
164+
<!-- Add Kotlin source to the generated source JAR file-->
165+
<plugin>
166+
<groupId>org.codehaus.mojo</groupId>
167+
<artifactId>build-helper-maven-plugin</artifactId>
168+
<version>3.2.0</version>
169+
<executions>
170+
<execution>
171+
<phase>generate-sources</phase>
172+
<goals>
173+
<goal>add-source</goal>
174+
</goals>
175+
<configuration>
176+
<sources>
177+
<source>src/main/kotlin</source>
178+
</sources>
179+
</configuration>
180+
</execution>
181+
</executions>
182+
</plugin>
164183
</plugins>
165184
</build>
166185

0 commit comments

Comments
 (0)