Skip to content

Commit efc8639

Browse files
committed
Exclude samples from Javadoc
Resolves BATCH-2215
1 parent 5b46c91 commit efc8639

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -749,9 +749,9 @@ task api(type: Javadoc) {
749749
options.addStringOption('Xdoclint:none', '-quiet')
750750
}
751751

752-
source subprojects.collect { project ->
753-
project.sourceSets.main.allJava
754-
}
752+
source subprojects
753+
.findAll { it.name != 'spring-batch-samples' && !it.name.endsWith("-tests") }
754+
.collect { project -> project.sourceSets.main.allJava }
755755
destinationDir = new File(buildDir, "api")
756756
classpath = files(subprojects.collect { project ->
757757
project.sourceSets.main.compileClasspath

0 commit comments

Comments
 (0)