Skip to content

Commit 418cb60

Browse files
committed
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
1 parent 4339b8a commit 418cb60

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

build.gradle

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,23 @@ buildscript {
2727
}
2828
}
2929

30+
plugins {
31+
id "io.github.rwinch.antora" version "0.0.2"
32+
}
33+
34+
3035
apply plugin: 'io.spring.convention.root'
3136

3237
group = 'org.springframework.session'
3338
description = 'Spring Session'
3439

40+
antora {
41+
playbookFile = file("local-antora-playbook.yml")
42+
// default no version (current version)
43+
antoraVersion = "3.0.0-alpha.9"
44+
arguments = ["--fetch"]
45+
}
46+
3547
subprojects {
3648
apply plugin: 'io.spring.javaformat'
3749

0 commit comments

Comments
 (0)