build.gradle 717 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 9 10 11
        jcenter()
    }

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

allprojects {
    repositories {
18
        google()
19
        jcenter()
20 21 22
        maven {
            url 'https://google.bintray.com/exoplayer/'
        }
23 24 25
    }
}

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

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