Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

Commit 069ffb2

Browse files
committed
Create Javadoc JAR for spring-auto-restdocs-dokka-json
1 parent 541e3c9 commit 069ffb2

File tree

1 file changed

+22
-1
lines changed
  • spring-auto-restdocs-dokka-json

1 file changed

+22
-1
lines changed

spring-auto-restdocs-dokka-json/pom.xml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2121
<kotlin.version>1.2.30</kotlin.version>
2222
<junit.version>4.12</junit.version>
23+
<dokka.version>0.9.16</dokka.version>
2324
</properties>
2425

2526
<dependencies>
@@ -43,7 +44,7 @@
4344
<dependency>
4445
<groupId>org.jetbrains.dokka</groupId>
4546
<artifactId>dokka-fatjar</artifactId>
46-
<version>0.9.16</version>
47+
<version>${dokka.version}</version>
4748
</dependency>
4849
<dependency>
4950
<groupId>com.fasterxml.jackson.core</groupId>
@@ -83,6 +84,19 @@
8384
</execution>
8485
</executions>
8586
</plugin>
87+
<plugin>
88+
<groupId>org.jetbrains.dokka</groupId>
89+
<artifactId>dokka-maven-plugin</artifactId>
90+
<version>${dokka.version}</version>
91+
<executions>
92+
<execution>
93+
<phase>package</phase>
94+
<goals>
95+
<goal>javadocJar</goal>
96+
</goals>
97+
</execution>
98+
</executions>
99+
</plugin>
86100
</plugins>
87101
</build>
88102

@@ -93,4 +107,11 @@
93107
</repository>
94108
</repositories>
95109

110+
<pluginRepositories>
111+
<pluginRepository>
112+
<id>jcenter</id>
113+
<url>https://jcenter.bintray.com/</url>
114+
</pluginRepository>
115+
</pluginRepositories>
116+
96117
</project>

0 commit comments

Comments
 (0)