Gets rid of deprecated `runProguard` and uses new `minify`
Gets rid of unnecessary buildTypes closure and uses undeprecated APPLICATION_ID