Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

Commit 9bba058

Browse files
committed
Kotlin module documentation is now generated with Dokka
1 parent ed326f8 commit 9bba058

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

pom.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,8 +378,6 @@
378378
<requirePluginVersions/>
379379
<!-- all-dependency-versions-must-converge -->
380380
<dependencyConvergence/>
381-
<!-- no-custom-repositories-are-needed -->
382-
<requireNoRepositories/>
383381
<!-- no-distribution-management-in-poms -->
384382
<banDistributionManagement/>
385383
</rules>

webtester-kotlin/pom.xml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
<properties>
1616
<version.kotlin>1.1.2</version.kotlin>
17+
<version.dokka>0.9.14</version.dokka>
1718
<kotlin.compiler.incremental>true</kotlin.compiler.incremental>
1819
</properties>
1920

@@ -111,6 +112,19 @@
111112
</dependency>
112113
</dependencies>
113114
</plugin>
115+
<plugin>
116+
<groupId>org.jetbrains.dokka</groupId>
117+
<artifactId>dokka-maven-plugin</artifactId>
118+
<version>${version.dokka}</version>
119+
<executions>
120+
<execution>
121+
<phase>package</phase>
122+
<goals>
123+
<goal>javadocJar</goal>
124+
</goals>
125+
</execution>
126+
</executions>
127+
</plugin>
114128
<plugin>
115129
<groupId>org.codehaus.mojo</groupId>
116130
<artifactId>findbugs-maven-plugin</artifactId>
@@ -122,4 +136,12 @@
122136
</plugins>
123137
</build>
124138

139+
<pluginRepositories>
140+
<pluginRepository>
141+
<id>jcenter</id>
142+
<name>JCenter</name>
143+
<url>https://jcenter.bintray.com/</url>
144+
</pluginRepository>
145+
</pluginRepositories>
146+
125147
</project>

0 commit comments

Comments
 (0)