Skip to content

Commit

Permalink
Remove antora from docs zip inclusion
Browse files Browse the repository at this point in the history
  • Loading branch information
artembilan committed Jan 19, 2024
1 parent b9c9abd commit 7d438dc
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -427,10 +427,10 @@ task api(type: Javadoc) {
classpath = files(javaProjects.collect { project ->
project.sourceSets.main.compileClasspath
})
destinationDir = new File(buildDir, 'api')
destinationDir = file('build/api')
}

task docsZip(type: Zip, dependsOn: [':spring-kafka-docs:antora']) {
task docsZip(type: Zip) {
group = 'Distribution'
archiveClassifier = 'docs'
description = "Builds -${archiveClassifier} archive containing api and reference " +
Expand All @@ -443,13 +443,9 @@ task docsZip(type: Zip, dependsOn: [':spring-kafka-docs:antora']) {
from(api) {
into 'api'
}

from ('spring-kafka-docs/build/site') {
into 'reference/'
}
}

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

0 comments on commit 7d438dc

Please sign in to comment.