From 7d438dcd928f1e0e643a5b26837200a0952d9882 Mon Sep 17 00:00:00 2001 From: Artem Bilan Date: Fri, 19 Jan 2024 11:27:46 -0500 Subject: [PATCH] Remove `antora` from docs zip inclusion --- build.gradle | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index 3dea27d09d..32bf13fc5f 100644 --- a/build.gradle +++ b/build.gradle @@ -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 " + @@ -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, " +