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 53
53
<artifactId >logback-core</artifactId >
54
54
</dependency >
55
55
</dependencies >
56
+
56
57
</project >
Original file line number Diff line number Diff line change 24
24
<scope >compile</scope >
25
25
</dependency >
26
26
</dependencies >
27
+
27
28
</project >
Original file line number Diff line number Diff line change 68
68
69
69
<properties >
70
70
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
71
+ <kotlin .compiler.incremental>true</kotlin .compiler.incremental>
71
72
<kotlin .version>1.3.72</kotlin .version>
72
73
<kotlinx .version>1.3.8</kotlinx .version>
73
74
<kotlin .code.style>official</kotlin .code.style>
110
111
<plugin >
111
112
<groupId >org.apache.maven.plugins</groupId >
112
113
<artifactId >maven-source-plugin</artifactId >
113
- <version >2 .2.1</version >
114
+ <version >3 .2.1</version >
114
115
<executions >
115
116
<execution >
116
117
<id >attach-sources</id >
126
127
<version >${dokka.version} </version >
127
128
<executions >
128
129
<execution >
129
- <phase >pre-site </phase >
130
+ <phase >prepare-package </phase >
130
131
<goals >
131
132
<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
+ -->
132
137
</goals >
133
138
</execution >
134
139
</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 >
135
166
</plugin >
136
167
</plugins >
137
168
</build >
You can’t perform that action at this time.
0 commit comments