Fix gradle config and distribute 0.3.0