Modernize build, bump to 0.2, move to gradle.