Fix deprecation warnings (now errors in 0.14.4) w/ gradle.