Couple fixes for Antora support
This commit is contained in:
@@ -504,7 +504,7 @@ task api(type: Javadoc) {
|
||||
destinationDir = new File(buildDir, 'api')
|
||||
}
|
||||
|
||||
task docsZip(type: Zip, dependsOn: ['antora']) {
|
||||
task docsZip(type: Zip, dependsOn: [':spring-kafka-docs:antora']) {
|
||||
group = 'Distribution'
|
||||
archiveClassifier = 'docs'
|
||||
description = "Builds -${archiveClassifier} archive containing api and reference " +
|
||||
@@ -518,7 +518,7 @@ task docsZip(type: Zip, dependsOn: ['antora']) {
|
||||
into 'api'
|
||||
}
|
||||
|
||||
from ('build/site') {
|
||||
from ('spring-kafka-docs/build/site') {
|
||||
into 'reference/'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ ext:
|
||||
# See https://gitlab.com/antora/antora-collector-extension/-/blob/main/docs/modules/ROOT/pages/configuration-keys.adoc?ref_type=heads#collector-reference
|
||||
# HINT: Maven is typically something like:
|
||||
# ./mvnw validate process-resources -am -Pantora-process-resources
|
||||
command: gradlew -q "-Dorg.gradle.jvmargs=-Xmx3g -XX:+HeapDumpOnOutOfMemoryError" :spring-kafka-docs:generateAntoraResources
|
||||
command: gradlew :spring-kafka-docs:generateAntoraResources
|
||||
local: true
|
||||
scan:
|
||||
# FIXME Change "dir" to the location that generated files are at
|
||||
|
||||
Reference in New Issue
Block a user