[Solved] Hang in dependency resolution when running parallel

Gradle Version: 2.14.1
Operating System: Linux & Windows
Is this a regression? Dunno

With org.gradle.parallel=false my multi-project build completes normally, but with org.gradle.parallel=true it hangs. This started happening after I added a Sprint Boot module that uses org.springframework.boot:spring-boot-gradle-plugin:1.3.6.RELEASE.

It hangs whether I use the Gradle daemon or not.
Unfortunately, I’m not allowed to share my project.

Would you mind testing if a newer Spring Dependency Management plugin version fixes the problem?

Add either this to buildscript / dependencies

classpath "io.spring.gradle:dependency-management-plugin:0.5.7.RELEASE"

or this to plugins

id 'io.spring.dependency-management' version '0.5.7.RELEASE'

That should upgrade the transitive dependency version of io.spring.dependency-management that spring-boot-gradle-plugin pulls in.

0.5.7.RELEASE version of io.spring.dependency-management contains fixes for https://github.com/spring-gradle-plugins/dependency-management-plugin/issues/79 and https://github.com/spring-gradle-plugins/dependency-management-plugin/pull/88 which might be related to your problem.

The problem went away with org.springframework.boot:spring-boot-gradle-plugin:1.4.0.RELEASE.

Thanks for the information. org.springframework.boot:spring-boot-gradle-plugin:1.4.0.RELEASE ships with 0.6.0.RELEASE of spring-boot-gradle-plugin which contains fixes for https://github.com/spring-gradle-plugins/dependency-management-plugin/issues/79 and https://github.com/spring-gradle-plugins/dependency-management-plugin/pull/88 which are probably related to your original problem. My previous instructions had instructions for older Spring Boot versions (1.3.x) and might come handy to those users that aren’t yet able to upgrade to the latest Spring Boot version.