java-lib: made gradlew executable and fixed bug with setting the project name in bintray plugin.