Java examples based using Gradle