Link to current version of Spring Framework's reference documentation

Closes gh-853
This commit is contained in:
Andy Wilkinson
2022-10-15 16:30:45 +01:00
parent 4807bec4b7
commit 632e735550
4 changed files with 4 additions and 3 deletions

View File

@@ -28,7 +28,6 @@ nohttp {
}
ext {
springFrameworkVersion = "6.0.0-M5"
javadocLinks = [
"https://docs.spring.io/spring-framework/docs/$springFrameworkVersion/javadoc-api/",
"https://docs.jboss.org/hibernate/validator/7.0/api/",

View File

@@ -48,6 +48,7 @@ asciidoctor {
include "index.adoc"
}
attributes "revnumber": project.version,
"spring-Framework-version": springFrameworkVersion,
"branch-or-tag": project.version.endsWith("SNAPSHOT") ? "main": "v${project.version}"
inputs.files(sourceSets.test.java)
outputOptions {

View File

@@ -13,8 +13,8 @@ Andy Wilkinson; Jay Bryant
:samples: https://github.com/spring-projects/spring-restdocs-samples/tree/main
:templates: {source}spring-restdocs/src/main/resources/org/springframework/restdocs/templates
:spring-boot-docs: https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle
:spring-framework-docs: https://docs.spring.io/spring-framework/docs/5.0.x/spring-framework-reference
:spring-framework-api: https://docs.spring.io/spring-framework/docs/5.0.x/javadoc-api
:spring-framework-docs: https://docs.spring.io/spring-framework/docs/{spring-framework-version}/reference/html/
:spring-framework-api: https://docs.spring.io/spring-framework/docs/{spring-framework-version}/javadoc-api
[[abstract]]

View File

@@ -6,3 +6,4 @@ org.gradle.parallel=true
javaFormatVersion=0.0.34
jmustacheVersion=1.15
springFrameworkVersion=6.0.0-M5