File tree Expand file tree Collapse file tree 3 files changed +35
-2
lines changed Expand file tree Collapse file tree 3 files changed +35
-2
lines changed Original file line number Diff line number Diff line change 5353 <artifactId >logback-core</artifactId >
5454 </dependency >
5555 </dependencies >
56+
5657</project >
Original file line number Diff line number Diff line change 2424 <scope >compile</scope >
2525 </dependency >
2626 </dependencies >
27+
2728</project >
Original file line number Diff line number Diff line change 6868
6969 <properties >
7070 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
71+ <kotlin .compiler.incremental>true</kotlin .compiler.incremental>
7172 <kotlin .version>1.3.72</kotlin .version>
7273 <kotlinx .version>1.3.8</kotlinx .version>
7374 <kotlin .code.style>official</kotlin .code.style>
110111 <plugin >
111112 <groupId >org.apache.maven.plugins</groupId >
112113 <artifactId >maven-source-plugin</artifactId >
113- <version >2 .2.1</version >
114+ <version >3 .2.1</version >
114115 <executions >
115116 <execution >
116117 <id >attach-sources</id >
126127 <version >${dokka.version} </version >
127128 <executions >
128129 <execution >
129- <phase >pre-site </phase >
130+ <phase >prepare-package </phase >
130131 <goals >
131132 <goal >dokka</goal >
133+ <!-- not work with JDK 11 (https://github.com/Kotlin/dokka/issues/294)
134+ <goal>javadoc</goal>
135+ <goal>javadocJar</goal>
136+ -->
132137 </goals >
133138 </execution >
134139 </executions >
140+ <configuration >
141+ <dokkaPlugins >
142+ <plugin >
143+ <groupId >org.jetbrains.dokka</groupId >
144+ <artifactId >kotlin-as-java-plugin</artifactId >
145+ <version >${dokka.version} </version >
146+ </plugin >
147+ </dokkaPlugins >
148+ </configuration >
149+ </plugin >
150+ <plugin >
151+ <groupId >org.apache.maven.plugins</groupId >
152+ <artifactId >maven-jar-plugin</artifactId >
153+ <executions >
154+ <execution >
155+ <id >javadoc-jar</id >
156+ <phase >package</phase >
157+ <goals >
158+ <goal >jar</goal >
159+ </goals >
160+ <configuration >
161+ <classifier >javadoc</classifier >
162+ <classesDirectory >${project.basedir} /target/dokka</classesDirectory >
163+ </configuration >
164+ </execution >
165+ </executions >
135166 </plugin >
136167 </plugins >
137168 </build >
You can’t perform that action at this time.
0 commit comments