Update build.gradle to use Maven dependencies