File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
spring-boot-project/spring-boot-docs Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -58,12 +58,14 @@ task javadoc(type: Javadoc) {
58
58
}
59
59
doFirst {
60
60
def versionConstraints = dependencyVersions. versionConstraints
61
+ def tomcatVersion = " ${ versionConstraints['org.apache.tomcat:tomcat-annotations-api']} "
62
+ def tomcatDocsVersion = tomcatVersion. substring(0 , tomcatVersion. lastIndexOf(' .' ));
61
63
options. links = [
62
64
' https://docs.oracle.com/javase/8/docs/api/' ,
63
65
' https://docs.oracle.com/javaee/7/api/' ,
64
66
" https://docs.spring.io/spring-framework/docs/${ versionConstraints['org.springframework:spring-core']} /javadoc-api/" ,
65
67
" https://docs.spring.io/spring-security/site/docs/${ versionConstraints['org.springframework.security:spring-security-core']} /api/" ,
66
- ' https://tomcat.apache.org/tomcat-9.0 -doc/api/' ,
68
+ " https://tomcat.apache.org/tomcat-${ tomcatDocsVersion } -doc/api/" ,
67
69
" https://www.eclipse.org/jetty/javadoc/${ versionConstraints['org.eclipse.jetty:jetty-server']} /" ,
68
70
" https://www.thymeleaf.org/apidocs/thymeleaf/${ versionConstraints['org.thymeleaf:thymeleaf']} /"
69
71
] as String []
You can’t perform that action at this time.
0 commit comments