Add Gradle lockfiles and tool to generate them (#83067)

This commit is contained in:
Emmanuel Garcia
2021-05-21 13:04:03 -07:00
committed by GitHub
parent 1f368780d6
commit fa5883b78e
131 changed files with 8711 additions and 64 deletions

View File

@@ -2,14 +2,24 @@
// 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.
buildscript {
ext.kotlin_version = '1.4.32'
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.0'
classpath 'com.android.tools.build:gradle:4.1.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
configurations.classpath {
resolutionStrategy.activateDependencyLocking()
}
}
@@ -21,9 +31,16 @@ allprojects {
}
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
project.evaluationDependsOn(':app')
dependencyLocking {
ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
lockAllConfigurations()
}
}
task clean(type: Delete) {