build.gradle 629 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
buildscript {
    repositories {
7
        google()
8
        mavenCentral()
9 10 11
    }

    dependencies {
12
        classpath 'com.android.tools.build:gradle:4.1.0'
13 14 15 16 17
    }
}

allprojects {
    repositories {
18
        google()
19
        mavenCentral()
20 21 22 23 24 25
    }
}

rootProject.buildDir = '../build'
subprojects {
    project.buildDir = "${rootProject.buildDir}/${project.name}"
26
    project.evaluationDependsOn(':app')
27 28 29 30 31
}

task clean(type: Delete) {
    delete rootProject.buildDir
}