Antora Playbook

This commit is contained in:
Rob Winch
2021-11-08 13:35:57 -06:00
parent ab794bf67a
commit 4f88bb8e5f
12 changed files with 423 additions and 4 deletions

View File

@@ -1,6 +1,23 @@
plugins {
id "io.github.rwinch.antora" version "0.0.2"
}
apply plugin: 'io.spring.convention.docs'
apply plugin: 'java'
antora {
antoraVersion = "3.0.0-alpha.8"
arguments = ["--fetch"]
}
tasks.antora {
environment = [
"ALGOLIA_API_KEY" : "82c7ead946afbac3cf98c32446154691",
"ALGOLIA_APP_ID" : "244V8V9FGG",
"ALGOLIA_INDEX_NAME" : "security-docs"
]
}
tasks.register("generateAntora") {
group = "Documentation"
description = "Generates the antora.yml for dynamic properties"