added empty build.gradle and use Java 6 for travis