Skip to content

Commit fab4c45

Browse files
committed
Move dep-management plugin out of root project
Looks like `io.spring.dependency-management` plugin affects somehow a `makePDF` task, especially its `include 'index-single.adoc'` * Moving it away into `subprojects` sections brings PDF built back to normal * Upgrade to the `org.asciidoctor:asciidoctorj-pdf:1.5.0-beta.2`
1 parent a09b979 commit fab4c45

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

build.gradle

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ buildscript {
66
dependencies {
77
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
88
classpath "org.jetbrains.kotlin:kotlin-allopen:$kotlinVersion"
9-
classpath 'org.asciidoctor:asciidoctorj-pdf:1.5.0-alpha.18'
9+
classpath 'org.asciidoctor:asciidoctorj-pdf:1.5.0-beta.2'
1010
classpath 'io.spring.nohttp:nohttp-gradle:0.0.3.RELEASE'
1111
}
1212
}
@@ -107,18 +107,6 @@ ext {
107107
allprojects {
108108
group = 'org.springframework.integration'
109109

110-
apply plugin: "io.spring.dependency-management"
111-
112-
dependencyManagement {
113-
resolutionStrategy {
114-
cacheChangingModulesFor 0, 'seconds'
115-
}
116-
applyMavenExclusions = false
117-
generatedPomCustomization {
118-
enabled = false
119-
}
120-
}
121-
122110
repositories {
123111
maven { url 'https://repo.spring.io/libs-milestone' }
124112
if (version.endsWith('BUILD-SNAPSHOT')) {
@@ -151,6 +139,17 @@ subprojects { subproject ->
151139
apply plugin: 'checkstyle'
152140
apply plugin: 'kotlin'
153141
apply plugin: 'kotlin-spring'
142+
apply plugin: "io.spring.dependency-management"
143+
144+
dependencyManagement {
145+
resolutionStrategy {
146+
cacheChangingModulesFor 0, 'seconds'
147+
}
148+
applyMavenExclusions = false
149+
generatedPomCustomization {
150+
enabled = false
151+
}
152+
}
154153

155154
sourceSets {
156155
test {

0 commit comments

Comments
 (0)