Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Eclipse support in Gradle build [SPR-15862] #20417

spring-projects-issues opened this issue Aug 11, 2017 · 1 comment

Fix Eclipse support in Gradle build [SPR-15862] #20417

spring-projects-issues opened this issue Aug 11, 2017 · 1 comment
type: task


Copy link

@spring-projects-issues spring-projects-issues commented Aug 11, 2017

Sam Brannen opened SPR-15862 and commented

After the upgrade to Gradle 4.0, we now see the following error when executing

FAILURE: Build failed with an exception.

* Where:
Script '/spring-framework/gradle/ide.gradle' line: 24

* What went wrong:
Execution failed for task ':spring-aspects:eclipseClasspath'.
> Could not find matching constructor for: org.gradle.plugins.ide.eclipse.model.ProjectDependency(org.codehaus.groovy.runtime.GStringImpl, java.lang.String)

Reverting to Gradle 3.5 displays the following warning:

The ProjectDependency(String path, String gradlePath) method has been deprecated and is scheduled to be removed in Gradle 4.0. Please use ProjectDependency(String path) instead.
        at ide_7j0kvly8u2wb253k4xchxls6o$_run_closure2$_closure12.doCall(/Users/sbrannen/source/spring-framework/gradle/ide.gradle:24)

Affects: 5.0 RC4

Issue Links:

  • #20226 Upgrade to Gradle 4.1 for clean JDK 9 build compatibility

Referenced from: commits 1cb96f4

Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Aug 22, 2017

Sam Brannen commented

Fixed in the following GitHub commit:


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
type: task
None yet

No branches or pull requests

2 participants