libraries/tools: compile kotlin runtime in maven build
This commit is contained in:
@@ -15,22 +15,34 @@
|
|||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
<sourceDirectory>${project.basedir}/../../../runtime/src</sourceDirectory>
|
||||||
|
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-antrun-plugin</artifactId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<version>1.7</version>
|
<artifactId>maven-source-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
<!-- Use precompiled class files -->
|
|
||||||
<execution>
|
<execution>
|
||||||
<phase>compile</phase>
|
<phase>package</phase>
|
||||||
<configuration>
|
<id>attach-sources</id>
|
||||||
<tasks>
|
|
||||||
<unzip src="${kotlin-sdk}/lib/kotlin-runtime.jar"
|
|
||||||
dest="${project.build.outputDirectory}"/>
|
|
||||||
</tasks>
|
|
||||||
</configuration>
|
|
||||||
<goals>
|
<goals>
|
||||||
<goal>run</goal>
|
<goal>jar-no-fork</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>attach-javadocs</id>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>jar</goal>
|
||||||
</goals>
|
</goals>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
|
|||||||
Reference in New Issue
Block a user