Skip to content

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

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

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

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

spring-projects-issues opened this issue Aug 11, 2017 · 1 comment
Assignees
Labels
type: task A general task
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

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 import-into-eclipse.sh:

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:

Referenced from: commits 1cb96f4

@spring-projects-issues
Copy link
Collaborator Author

Sam Brannen commented

Fixed in the following GitHub commit:

1cb96f4

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

No branches or pull requests

2 participants