Idea 2017.1 Unable to refresh/import Gradle project "Error:No signature of method"

Answered

Fails with:

Error:No signature of method: org.gradle.internal.service.scopes.ProjectScopeServices.getAll() is applicable for argument types: (java.lang.Class) values: [interface org.gradle.tooling.provider.model.ToolingModelBuilderRegistry]
Possible solutions: get(java.lang.Class), getAt(java.lang.String), get(java.lang.reflect.Type), getClass(), findAll(), findAll(groovy.lang.Closure)

It works fine in 2016. But in 2017 the project will not refresh/import and thus cannot be built. It is not my project and I know next to nothing about Gradle.

Did something change in how it needs to be configured?

It would be great if it'd work in 2017. For now I'm continuing working in 2016 for this project.

0
4 comments

What Gradle version do you use? Does it work with the recent Gradle version?

1
Avatar
Permanently deleted user

How do I find the Gradle version?

Presumably it uses whichever is in the project.

0
Avatar
Permanently deleted user

Forcing it to use the most recent Gradle version seems to have fixed it! Thanks!

0

Please sign in to leave a comment.