mirror of
https://gitee.com/devlive-community/datacap.git
synced 2024-12-02 03:57:35 +08:00
[Env] Support kotlin javadoc
This commit is contained in:
parent
1103c43ad2
commit
b9ffa0e52c
29
pom.xml
29
pom.xml
@ -134,6 +134,7 @@
|
||||
<plugin.maven.javadoc.version>3.5.0</plugin.maven.javadoc.version>
|
||||
<plugin.maven.gpg.version>1.6</plugin.maven.gpg.version>
|
||||
<plugin.maven.nexus.version>1.6</plugin.maven.nexus.version>
|
||||
<plugin.maven.dokka.version>1.8.10</plugin.maven.dokka.version>
|
||||
<environment.compile.java.version>1.8</environment.compile.java.version>
|
||||
</properties>
|
||||
|
||||
@ -266,11 +267,11 @@
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>kotlin-maven-plugin</artifactId>
|
||||
<groupId>org.jetbrains.kotlin</groupId>
|
||||
<version>${kotlin.version}</version>
|
||||
<configuration>
|
||||
<jvmTarget>1.8</jvmTarget>
|
||||
</configuration>
|
||||
<groupId>org.jetbrains.kotlin</groupId>
|
||||
<version>${kotlin.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>compile</id>
|
||||
@ -380,6 +381,7 @@
|
||||
<configuration>
|
||||
<sources>
|
||||
<source>src/main/kotlin</source>
|
||||
<source>src/test/kotlin</source>
|
||||
</sources>
|
||||
</configuration>
|
||||
</execution>
|
||||
@ -448,9 +450,30 @@
|
||||
<configuration>
|
||||
<serverId>ossrh</serverId>
|
||||
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
|
||||
<autoReleaseAfterClose>true</autoReleaseAfterClose>
|
||||
<!-- <autoReleaseAfterClose>true</autoReleaseAfterClose>-->
|
||||
</configuration>
|
||||
</plugin>
|
||||
<!-- Fixed Missing: no javadoc jar found in folder -->
|
||||
<plugin>
|
||||
<groupId>org.jetbrains.dokka</groupId>
|
||||
<artifactId>dokka-maven-plugin</artifactId>
|
||||
<version>${plugin.maven.dokka.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>pre-site</phase>
|
||||
<goals>
|
||||
<goal>dokka</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
<id>attach-javadocs-dokka</id>
|
||||
<goals>
|
||||
<goal>javadocJar</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user