File tree Expand file tree Collapse file tree 2 files changed +27
-7
lines changed
org.graalvm.python.gradle.plugin Expand file tree Collapse file tree 2 files changed +27
-7
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,14 @@ java {
3030 sourceCompatibility = JavaVersion . VERSION_17
3131 targetCompatibility = JavaVersion . VERSION_17
3232 withSourcesJar()
33+ withJavadocJar()
34+ }
35+
36+ tasks. withType(Javadoc ). configureEach {
37+ failOnError = false
38+ options. addBooleanOption(' Xdoclint:none' , true )
39+ options. addBooleanOption(' quiet' , true )
40+ options. encoding = ' UTF-8'
3341}
3442
3543sourceSets. main. java. srcDirs + = [' ../org.graalvm.python.embedding.tools/src/main/java' ]
Original file line number Diff line number Diff line change 261261 <artifactId >maven-surefire-plugin</artifactId >
262262 <version >3.5.3</version >
263263 </plugin >
264- <!-- by default no JavaDoc linting, we override this in modules that provide public API -->
265264 <plugin >
266265 <groupId >org.apache.maven.plugins</groupId >
267266 <artifactId >maven-javadoc-plugin</artifactId >
268267 <version >3.11.2</version >
269- <configuration >
270- <failOnError >false</failOnError >
271- <additionalJOptions >
272- <additionalJOption >-Xdoclint:none</additionalJOption >
273- </additionalJOptions >
274- </configuration >
275268 </plugin >
276269 </plugins >
277270 </pluginManagement >
327320 </execution >
328321 </executions >
329322 </plugin >
323+ <!-- by default no JavaDoc linting, we override this in modules that provide public API -->
324+ <plugin >
325+ <groupId >org.apache.maven.plugins</groupId >
326+ <artifactId >maven-javadoc-plugin</artifactId >
327+ <configuration >
328+ <failOnError >false</failOnError >
329+ <additionalJOptions >
330+ <additionalJOption >-Xdoclint:none</additionalJOption >
331+ </additionalJOptions >
332+ </configuration >
333+ <executions >
334+ <execution >
335+ <id >attach-javadocs</id >
336+ <goals >
337+ <goal >jar</goal >
338+ </goals >
339+ </execution >
340+ </executions >
341+ </plugin >
330342 <plugin >
331343 <!-- prevent installation of the parent pom, intentionally not inherited by submodules -->
332344 <groupId >org.apache.maven.plugins</groupId >
You can’t perform that action at this time.
0 commit comments