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

rootProject.buildDir = '../build'
13

14 15
subprojects {
    project.buildDir = "${rootProject.buildDir}/${project.name}"
16 17
}
subprojects {
18
    project.evaluationDependsOn(':app')
19 20 21 22 23 24

    dependencyLocking {
        ignoredDependencies.add('io.flutter:*')
        lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
        lockAllConfigurations()
    }
25 26
}

27
tasks.register("clean", Delete) {
28 29
    delete rootProject.buildDir
}