File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed
buildSrc/src/main/groovy/org/springframework/build/gradle Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ buildscript {
44 }
55 dependencies {
66 classpath(" org.springframework.build.gradle:propdeps-plugin:0.0.7" )
7- classpath(" org.springframework.build. gradle:docbook-reference-plugin:0.2.8 " )
7+ classpath(" io.spring. gradle:docbook-reference-plugin:0.3.1 " )
88 }
99}
1010
@@ -1050,7 +1050,7 @@ configure(rootProject) {
10501050
10511051 task wrapper(type : Wrapper ) {
10521052 description = " Generates gradlew[.bat] scripts"
1053- gradleVersion = " 1.12 "
1053+ gradleVersion = " 2.5 "
10541054
10551055 doLast() {
10561056 def gradleOpts = " -XX:MaxPermSize=1024m -Xmx1024m"
Original file line number Diff line number Diff line change @@ -68,8 +68,8 @@ class MergePlugin implements Plugin<Project> {
6868 Configuration runtimeMerge = project. configurations. create(" runtimeMerge" )
6969
7070 // Ensure the IDE can reference merged projects
71- project. eclipse. classpath. plusConfigurations + = [runtimeMerge]
72- project. idea. module. scopes. PROVIDED . plus + = runtimeMerge
71+ project. eclipse. classpath. plusConfigurations + = [ runtimeMerge ]
72+ project. idea. module. scopes. PROVIDED . plus + = [ runtimeMerge ]
7373
7474 // Hook to perform the actual merge logic
7575 project. afterEvaluate{
@@ -132,8 +132,9 @@ class MergePlugin implements Plugin<Project> {
132132 intoConfiguration. dependencies. add(it)
133133 }
134134 }
135+ def index = project. parent. childProjects. findIndexOf {p -> p. getValue() == project}
135136 project. merge. into. install. repositories. mavenInstaller. pom. scopeMappings. addMapping(
136- mapping. priority + 100 , intoConfiguration, mapping. scope)
137+ mapping. priority + 100 + index , intoConfiguration, mapping. scope)
137138 }
138139 }
139140 }
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33distributionPath =wrapper/dists
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
6- distributionUrl =https\://services.gradle.org/distributions/gradle-1.12 -bin.zip
6+ distributionUrl =https\://services.gradle.org/distributions/gradle-2.5 -bin.zip
You can’t perform that action at this time.
0 commit comments