Skip to content

Commit

Permalink
Fix javadocAll task (#2932)
Browse files Browse the repository at this point in the history
- Exclude `-jersey3-jakartaX` modules;
- Remove `package-info.java` from
`servicetalk-loadbalancer-experimental` because it reuses pre-existing
package `io.servicetalk.loadbalancer` where `package-info.java` already
exists.
  • Loading branch information
idelpivnitskiy authored May 14, 2024
1 parent af629a8 commit 6163b47
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,11 @@ final class ServiceTalkRootPlugin extends ServiceTalkCorePlugin {
}

gradle.projectsEvaluated {
subprojects.findAll {!it.name.contains("examples")}.each { prj ->
subprojects.findAll {
!it.name.contains("examples")
// No need to generate javadoc for -jersey3 modules because they are copied from -jersey
&& !it.name.contains("-jersey3-jakarta")
}.each { prj ->
prj.tasks.withType(Javadoc).findAll {it.name.equals("javadoc")}.each { javadocTask ->
source += javadocTask.source
classpath += javadocTask.classpath
Expand Down

This file was deleted.

0 comments on commit 6163b47

Please sign in to comment.