The gradlew script works fine, the project compiles and runs through the command line “gradlew :interop-lab:demo-apps:run”
But when I import the project to eclipse using the buildship plugin many errors are shown. Erros like java.lang.ClassNotFoundException and java.lang.NoClassDefFoundError however the classes are there, in the project.
I guess you mean ClassNotFoundExceptions at runtime, not when importing, right? Since you are using Gradle 2.3, you are hitting a known bug in Buildship 1.0.20, which will be fixed in 1.0.21 next week.
However, you can just upgrade to a newer Gradle version (at least 2.5) and it will work too.
You are right! at runtime, I did not express myself very well previously. I got it using the version 2.9, because 3.0 or higher doesn’t support custom build and that project use it.