File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 77ext :
88 collector :
99 run :
10- command : gradlew -q -PbuildSrc.skipTests=true "-Dorg.gradle.jvmargs=-Xmx3g -XX:+HeapDumpOnOutOfMemoryError" :spring-session-docs:generateAntoraYml
10+ command : gradlew -q -PbuildSrc.skipTests=true "-Dorg.gradle.jvmargs=-Xmx3g -XX:+HeapDumpOnOutOfMemoryError" :spring-session-docs:generateAntoraResources
1111 local : true
1212 scan :
1313 dir : ./build/generated-antora-resources
Original file line number Diff line number Diff line change 11* xref:whats-new.adoc[What's New]
2+ * xref:attachment$api/java/index.html[Javadoc]
23* xref:samples.adoc[Samples & Guides (Start Here)]
34** Boot Samples
45*** HttpSession
Original file line number Diff line number Diff line change @@ -37,11 +37,22 @@ antora {
3737 ]
3838}
3939
40+ tasks. register(" syncAntoraAttachments" , Sync ) {
41+ group = ' Documentation'
42+ description = ' Syncs the Antora attachments'
43+ from project. provider( { project. tasks. api. outputs } )
44+ into project. layout. buildDirectory. dir(' generated-antora-resources/modules/ROOT/assets/attachments/api/java' )
45+ }
46+
4047tasks. named(" generateAntoraYml" ) {
4148 asciidocAttributes = project. provider( { generateAttributes() } )
4249 asciidocAttributes. putAll(providers. provider( { resolvedVersions(project. configurations. testRuntimeClasspath) }))
4350}
4451
52+ tasks. register(" generateAntoraResources" ) {
53+ dependsOn ' generateAntoraYml' , ' syncAntoraAttachments'
54+ }
55+
4556
4657def generateAttributes () {
4758 def springBootVersion = getLibVersion(libs. versions. org. springframework. boot. get())
You can’t perform that action at this time.
0 commit comments