Fix Tasks build

Merged username-removed-38270 requested to merge abaker/fdroiddata:fix_tasks into master

Uses gradle 4.1