@ -8,6 +8,7 @@ plugins {
configurations {
configurations {
actuatorApiDocumentation
actuatorApiDocumentation
asciidoctorExtensions
autoConfiguration
autoConfiguration
configurationProperties
configurationProperties
gradlePluginDocumentation
gradlePluginDocumentation
@ -15,9 +16,24 @@ configurations {
testSlices
testSlices
}
}
repositories {
maven {
url "https://repo.spring.io/release"
mavenContent {
includeGroup "io.spring.asciidoctor"
}
}
}
dependencies {
dependencies {
actuatorApiDocumentation ( project ( path: ":spring-boot-project:spring-boot-actuator-autoconfigure" , configuration: "documentation" ) )
actuatorApiDocumentation ( project ( path: ":spring-boot-project:spring-boot-actuator-autoconfigure" , configuration: "documentation" ) )
asciidoctorExtensions ( platform ( project ( ":spring-boot-project:spring-boot-parent" ) ) )
asciidoctorExtensions ( "io.spring.asciidoctor:spring-asciidoctor-extensions-spring-boot" )
asciidoctorExtensions ( project ( path: ":spring-boot-project:spring-boot-actuator-autoconfigure" ) )
asciidoctorExtensions ( project ( path: ":spring-boot-project:spring-boot-autoconfigure" ) )
asciidoctorExtensions ( project ( path: ":spring-boot-project:spring-boot-devtools" ) )
autoConfiguration ( project ( path: ":spring-boot-project:spring-boot-autoconfigure" , configuration: "autoConfigurationMetadata" ) )
autoConfiguration ( project ( path: ":spring-boot-project:spring-boot-autoconfigure" , configuration: "autoConfigurationMetadata" ) )
autoConfiguration ( project ( path: ":spring-boot-project:spring-boot-actuator-autoconfigure" , configuration: "autoConfigurationMetadata" ) )
autoConfiguration ( project ( path: ":spring-boot-project:spring-boot-actuator-autoconfigure" , configuration: "autoConfigurationMetadata" ) )
autoConfiguration ( project ( path: ":spring-boot-project:spring-boot-devtools" , configuration: "autoConfigurationMetadata" ) )
autoConfiguration ( project ( path: ":spring-boot-project:spring-boot-devtools" , configuration: "autoConfigurationMetadata" ) )
@ -111,7 +127,11 @@ task documentConfigurationProperties(type: org.springframework.boot.build.contex
tasks . withType ( org . asciidoctor . gradle . jvm . AbstractAsciidoctorTask ) {
tasks . withType ( org . asciidoctor . gradle . jvm . AbstractAsciidoctorTask ) {
dependsOn dependencyVersions
dependsOn dependencyVersions
configurations "asciidoctorExtensions"
baseDirFollowsSourceDir ( )
baseDirFollowsSourceDir ( )
asciidoctorj {
fatalWarnings = [ '^((?!successfully validated).)*$' ]
}
doFirst {
doFirst {
def versionConstraints = dependencyVersions . versionConstraints
def versionConstraints = dependencyVersions . versionConstraints
attributes "jetty-version" : versionConstraints [ "org.eclipse.jetty:jetty-server" ] ,
attributes "jetty-version" : versionConstraints [ "org.eclipse.jetty:jetty-server" ] ,