buildscript { repositories { google() jcenter() } dependencies { // TODO switch to 4.0.1 again: https://github.com/flutter/flutter/issues/58479 // TODO switch to 4.0.1 again: https://github.com/miguelpruivo/flutter_file_picker/issues/545 classpath 'com.android.tools.build:gradle:3.6.2' } } allprojects { repositories { google() jcenter() } } rootProject.buildDir = '../build' subprojects { project.buildDir = "${rootProject.buildDir}/${project.name}" } subprojects { project.evaluationDependsOn(':app') } task clean(type: Delete) { delete rootProject.buildDir }