File tree Expand file tree Collapse file tree 1 file changed +22
-30
lines changed Expand file tree Collapse file tree 1 file changed +22
-30
lines changed Original file line number Diff line number Diff line change 9898 </dependencies >
9999
100100 <build >
101+ <sourceDirectory >src/main/kotlin</sourceDirectory >
102+ <testSourceDirectory >src/test/kotlin</testSourceDirectory >
101103 <plugins >
102- <plugin >
103- <artifactId >maven-shade-plugin</artifactId >
104- <version >2.4.3</version >
105- <executions >
106- <execution >
107- <phase >package</phase >
108- <goals >
109- <goal >shade</goal >
110- </goals >
111- </execution >
112- </executions >
113- </plugin >
114104 <plugin >
115105 <groupId >org.jetbrains.kotlin</groupId >
116106 <artifactId >kotlin-maven-plugin</artifactId >
122112 <goals >
123113 <goal >compile</goal >
124114 </goals >
125- <configuration >
126- <sourceDirs >
127- <source >src/main/java</source >
128- <source >src/main/kotlin</source >
129- </sourceDirs >
130- </configuration >
131115 </execution >
132116 <execution >
133117 <id >test-compile</id >
134118 <phase >test-compile</phase >
135119 <goals >
136120 <goal >test-compile</goal >
137121 </goals >
138- <configuration >
139- <sourceDirs >
140- <source >src/test/java</source >
141- <source >src/test/kotlin</source >
142- </sourceDirs >
143- </configuration >
144-
145122 </execution >
146123 </executions >
147124 </plugin >
173150 </plugins >
174151 </build >
175152
153+ <pluginRepositories >
154+ <pluginRepository >
155+ <id >jcenter</id >
156+ <name >JCenter</name >
157+ <url >https://jcenter.bintray.com/</url >
158+ </pluginRepository >
159+ </pluginRepositories >
160+
176161 <profiles >
177162 <profile >
178163 <id >release-sign-artifacts</id >
198183 </executions >
199184 </plugin >
200185 <plugin >
201- <groupId >org.apache.maven.plugins </groupId >
202- <artifactId >maven-javadoc -plugin</artifactId >
203- <version >2 .9.1 </version >
186+ <groupId >org.jetbrains.dokka </groupId >
187+ <artifactId >dokka-maven -plugin</artifactId >
188+ <version >0 .9.17 </version >
204189 <executions >
205190 <execution >
206- <id >attach-javadocs</ id >
191+ <phase >prepare-package</ phase >
207192 <goals >
208- <goal >jar</goal >
193+ <goal >dokka</goal >
194+ <goal >javadoc</goal >
195+ <goal >javadocJar</goal >
209196 </goals >
210197 </execution >
211198 </executions >
199+ <configuration >
200+ <includes >
201+ <file >packages.md</file >
202+ </includes >
203+ </configuration >
212204 </plugin >
213205 <plugin >
214206 <groupId >org.apache.maven.plugins</groupId >
You can’t perform that action at this time.
0 commit comments