mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
42 lines
1.2 KiB
Groovy
42 lines
1.2 KiB
Groovy
// 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.
|
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
buildscript {
|
|
ext.kotlin_version = "1.3.72"
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
// TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338
|
|
jcenter {
|
|
content {
|
|
includeModule("org.jetbrains.trove4j", "trove4j")
|
|
}
|
|
}
|
|
}
|
|
dependencies {
|
|
classpath "com.android.tools.build:gradle:4.1.2"
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module build.gradle files
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
// TODO(jmagman): Remove with https://github.com/flutter/flutter/issues/78338
|
|
jcenter {
|
|
content {
|
|
includeModule("org.jetbrains.trove4j", "trove4j")
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
} |