Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f85be8e

Browse filesBrowse files
committed
Upgrade to Gradle 2.5
Issue: SPR-15039
1 parent f22c669 commit f85be8e
Copy full SHA for f85be8e

File tree

Expand file treeCollapse file tree

3 files changed

+7
-6
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

3 files changed

+7
-6
lines changed
Open diff view settings
Collapse file

‎build.gradle‎

Copy file name to clipboardExpand all lines: build.gradle
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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"
Collapse file

‎buildSrc/src/main/groovy/org/springframework/build/gradle/MergePlugin.groovy‎

Copy file name to clipboardExpand all lines: buildSrc/src/main/groovy/org/springframework/build/gradle/MergePlugin.groovy
+4-3Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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
}
Collapse file

‎gradle/wrapper/gradle-wrapper.properties‎

Copy file name to clipboardExpand all lines: gradle/wrapper/gradle-wrapper.properties
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=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

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.