Add maven and gradle support.