an example about java web application building with Gradle or Maven.