Update build.gradle with better maven support