build.gradle 635 Bytes
Newer Older
Ian Hickson's avatar
Ian Hickson committed
1 2 3 4
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

5 6 7 8 9 10 11
buildscript {
    repositories {
        google()
        jcenter()
    }

    dependencies {
12
        classpath 'com.android.tools.build:gradle:4.1.0'
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
    }
}

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
}