Using gradle to build maven artifacts