Gradle project import problem

No signature of method: build_16j80bhfkqt2bfhcii98quk3mb$ is applicable for argument types: (java.lang.String) values: [fi.jasoft.plugin.vaadin] Possible solutions: is(java.lang.Object), is(java.lang.Object), find(), find(), find(groovy.lang.Closure), find(groovy.lang.Closure)

Note: Project are able to build in terminal but when we try to import project in eclipse we face the above problem and we are not able to build project through eclipse.