fix build to support "gradle install" to install in local repository and to generate a better classpath for "gradle eclipse"
Merge pull request #2 from davidB/master

fix build to support "gradle install" to install in local repository and...