diff --git a/build.gradle b/build.gradle index cd4b629afc..0a2bf09846 100644 --- a/build.gradle +++ b/build.gradle @@ -283,7 +283,7 @@ configure(rootProject) { task wrapper(type: Wrapper) { description = "Generates gradlew[.bat] scripts" - gradleVersion = '4.4.1' + gradleVersion = '4.6' doLast() { def gradleOpts = "-XX:MaxMetaspaceSize=1024m -Xmx1024m" diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar index 01b8bf6b1f..f6b961fd5a 100644 Binary files a/gradle/wrapper/gradle-wrapper.jar and b/gradle/wrapper/gradle-wrapper.jar differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 2c2bbe5f9a..bf3de21830 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-4.4.1-bin.zip diff --git a/spring-beans/spring-beans.gradle b/spring-beans/spring-beans.gradle index ceb20fb7f8..a93a798118 100644 --- a/spring-beans/spring-beans.gradle +++ b/spring-beans/spring-beans.gradle @@ -27,6 +27,7 @@ compileGroovy { // This module also builds Kotlin code and the compileKotlin task // naturally depends on compileJava. // We need to redefine dependencies to break task cycles. -compileGroovy.dependsOn = compileGroovy.taskDependencies.values - 'compileJava' +def deps = compileGroovy.taskDependencies.immutableValues + compileGroovy.taskDependencies.mutableValues +compileGroovy.dependsOn = deps - 'compileJava' compileKotlin.dependsOn(compileGroovy) compileKotlin.classpath += files(compileGroovy.destinationDir)