| // 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. | |
| // This file is auto generated. | |
| // To update all the build.gradle files in the Flutter repo, | |
| // See dev/tools/bin/generate_gradle_lockfiles.dart. | |
| allprojects { | |
| repositories { | |
| google() | |
| mavenCentral() | |
| } | |
| } | |
| rootProject.layout.buildDirectory.value(rootProject.layout.buildDirectory.dir("../../build").get()) | |
| subprojects { | |
| project.layout.buildDirectory.value(rootProject.layout.buildDirectory.dir(project.name).get()) | |
| } | |
| subprojects { | |
| project.evaluationDependsOn(':app') | |
| dependencyLocking { | |
| ignoredDependencies.add('io.flutter:*') | |
| lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile") | |
| def ignoreFile = file("${rootProject.projectDir}/.ignore-locking.md") | |
| if (!ignoreFile.exists() && !project.hasProperty('local-engine-repo')) { | |
| lockAllConfigurations() | |
| } | |
| } | |
| } | |
| tasks.register("clean", Delete) { | |
| delete rootProject.layout.buildDirectory | |
| } |