Skip to content

Commit 65ca2e4

Browse files
authored
Merge pull request #92 from hebo6/patch-1
Adding kotlin sources to built *-sources.jar
2 parents a0a374b + 79817a2 commit 65ca2e4

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

pom.xml

+19
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,25 @@
180180

181181
<build>
182182
<plugins>
183+
<plugin>
184+
<groupId>org.codehaus.mojo</groupId>
185+
<artifactId>build-helper-maven-plugin</artifactId>
186+
<version>3.0.0</version>
187+
188+
<executions>
189+
<execution>
190+
<phase>generate-sources</phase>
191+
<goals>
192+
<goal>add-source</goal>
193+
</goals>
194+
<configuration>
195+
<sources>
196+
<source>src/main/kotlin</source>
197+
</sources>
198+
</configuration>
199+
</execution>
200+
</executions>
201+
</plugin>
183202
<!-- <plugin>-->
184203
<!-- <groupId>org.apache.maven.plugins</groupId>-->
185204
<!-- <artifactId>maven-gpg-plugin</artifactId>-->

0 commit comments

Comments
 (0)