Gradle Project with RestApplication