Moving from maven to gradle build script