Skip to content

Commit 7d438dc

Browse files
committed
Remove antora from docs zip inclusion
1 parent b9c9abd commit 7d438dc

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

build.gradle

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -427,10 +427,10 @@ task api(type: Javadoc) {
427427
classpath = files(javaProjects.collect { project ->
428428
project.sourceSets.main.compileClasspath
429429
})
430-
destinationDir = new File(buildDir, 'api')
430+
destinationDir = file('build/api')
431431
}
432432

433-
task docsZip(type: Zip, dependsOn: [':spring-kafka-docs:antora']) {
433+
task docsZip(type: Zip) {
434434
group = 'Distribution'
435435
archiveClassifier = 'docs'
436436
description = "Builds -${archiveClassifier} archive containing api and reference " +
@@ -443,13 +443,9 @@ task docsZip(type: Zip, dependsOn: [':spring-kafka-docs:antora']) {
443443
from(api) {
444444
into 'api'
445445
}
446-
447-
from ('spring-kafka-docs/build/site') {
448-
into 'reference/'
449-
}
450446
}
451447

452-
task distZip(type: Zip, dependsOn: [docsZip]) { //, schemaZip]) {
448+
task distZip(type: Zip, dependsOn: [docsZip]) {
453449
group = 'Distribution'
454450
archiveClassifier = 'dist'
455451
description = "Builds -${archiveClassifier} archive, containing all jars and docs, " +

0 commit comments

Comments
 (0)