Update pom.xml for kotlin doc generateor
This commit is contained in:
parent
61689226c0
commit
45aca8d7a0
@ -18,6 +18,7 @@
|
||||
|
||||
<properties>
|
||||
<kotlin.version>1.4.31</kotlin.version>
|
||||
<dokka.version>1.4.32</dokka.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
@ -234,7 +235,47 @@
|
||||
</instructions>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<!-- Dokka configuration -->
|
||||
<plugin>
|
||||
<groupId>org.jetbrains.dokka</groupId>
|
||||
<artifactId>dokka-maven-plugin</artifactId>
|
||||
<version>${dokka.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>pre-site</phase>
|
||||
<goals>
|
||||
<goal>dokka</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<outputDir>gcode/kotlin</outputDir>
|
||||
<sourceDirectories><dir>${project.basedir}/src/main/kotlin/com/google/protobuf</dir></sourceDirectories>
|
||||
|
||||
<externalDocumentationLinks>
|
||||
<link>
|
||||
<url>https://developers.google.com/protocol-buffers/docs/reference/java/</url>
|
||||
</link>
|
||||
</externalDocumentationLinks>
|
||||
|
||||
<dokkaPlugins>
|
||||
<plugin>
|
||||
<groupId>org.jetbrains.dokka</groupId>
|
||||
<artifactId>gfm-plugin</artifactId>
|
||||
<version>${dokka.version}</version>
|
||||
</plugin>
|
||||
</dokkaPlugins>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>jcenter</id>
|
||||
<name>JCenter</name>
|
||||
<url>https://jcenter.bintray.com/</url>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
|
||||
</project>
|
||||
|
Loading…
Reference in New Issue
Block a user