From 418cb60f39581c67bc8e86f1e9ff32c75a915e1b Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Mon, 11 Oct 2021 09:17:06 -0500 Subject: [PATCH] Add antora gradle plugin You can now run the following to generate the antora site ./gradlew antora It will appear at build/site/index.html --- build.gradle | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/build.gradle b/build.gradle index fda6edd2..8de2a5e1 100644 --- a/build.gradle +++ b/build.gradle @@ -27,11 +27,23 @@ buildscript { } } +plugins { + id "io.github.rwinch.antora" version "0.0.2" +} + + apply plugin: 'io.spring.convention.root' group = 'org.springframework.session' description = 'Spring Session' +antora { + playbookFile = file("local-antora-playbook.yml") + // default no version (current version) + antoraVersion = "3.0.0-alpha.9" + arguments = ["--fetch"] +} + subprojects { apply plugin: 'io.spring.javaformat'