Skip to content

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

Closed
@spring-projects-issues

Description

@spring-projects-issues

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions