[gradle] Unlock all configurations if a local engine is used (#83635)

This commit is contained in:
Emmanuel Garcia
2021-06-01 13:19:03 -07:00
committed by GitHub
parent b947121f00
commit 0bccce6260
28 changed files with 84 additions and 28 deletions

View File

@@ -39,7 +39,9 @@ subprojects {
dependencyLocking {
ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
lockAllConfigurations()
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations()
}
}
}

View File

@@ -39,7 +39,9 @@ subprojects {
dependencyLocking {
ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
lockAllConfigurations()
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations()
}
}
}

View File

@@ -39,7 +39,9 @@ subprojects {
dependencyLocking {
ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
lockAllConfigurations()
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations()
}
}
}

View File

@@ -39,7 +39,9 @@ subprojects {
dependencyLocking {
ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
lockAllConfigurations()
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations()
}
}
}

View File

@@ -39,7 +39,9 @@ subprojects {
dependencyLocking {
ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
lockAllConfigurations()
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations()
}
}
}

View File

@@ -39,7 +39,9 @@ subprojects {
dependencyLocking {
ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
lockAllConfigurations()
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations()
}
}
}

View File

@@ -39,7 +39,9 @@ subprojects {
dependencyLocking {
ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
lockAllConfigurations()
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations()
}
}
}

View File

@@ -39,7 +39,9 @@ subprojects {
dependencyLocking {
ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
lockAllConfigurations()
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations()
}
}
}

View File

@@ -39,7 +39,9 @@ subprojects {
dependencyLocking {
ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
lockAllConfigurations()
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations()
}
}
}

View File

@@ -39,7 +39,9 @@ subprojects {
dependencyLocking {
ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
lockAllConfigurations()
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations()
}
}
}

View File

@@ -39,7 +39,9 @@ subprojects {
dependencyLocking {
ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
lockAllConfigurations()
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations()
}
}
}

View File

@@ -39,7 +39,9 @@ subprojects {
dependencyLocking {
ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
lockAllConfigurations()
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations()
}
}
}

View File

@@ -39,7 +39,9 @@ subprojects {
dependencyLocking {
ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
lockAllConfigurations()
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations()
}
}
}

View File

@@ -39,7 +39,9 @@ subprojects {
dependencyLocking {
ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
lockAllConfigurations()
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations()
}
}
}

View File

@@ -39,7 +39,9 @@ subprojects {
dependencyLocking {
ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
lockAllConfigurations()
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations()
}
}
}

View File

@@ -39,7 +39,9 @@ subprojects {
dependencyLocking {
ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
lockAllConfigurations()
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations()
}
}
}

View File

@@ -39,7 +39,9 @@ subprojects {
dependencyLocking {
ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
lockAllConfigurations()
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations()
}
}
}

View File

@@ -39,7 +39,9 @@ subprojects {
dependencyLocking {
ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
lockAllConfigurations()
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations()
}
}
}

View File

@@ -39,7 +39,9 @@ subprojects {
dependencyLocking {
ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
lockAllConfigurations()
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations()
}
}
}

View File

@@ -39,7 +39,9 @@ subprojects {
dependencyLocking {
ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
lockAllConfigurations()
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations()
}
}
}

View File

@@ -161,7 +161,9 @@ subprojects {
dependencyLocking {
ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
lockAllConfigurations()
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations()
}
}
}

View File

@@ -39,7 +39,9 @@ subprojects {
dependencyLocking {
ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
lockAllConfigurations()
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations()
}
}
}

View File

@@ -39,7 +39,9 @@ subprojects {
dependencyLocking {
ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
lockAllConfigurations()
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations()
}
}
}

View File

@@ -39,7 +39,9 @@ subprojects {
dependencyLocking {
ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
lockAllConfigurations()
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations()
}
}
}

View File

@@ -39,7 +39,9 @@ subprojects {
dependencyLocking {
ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
lockAllConfigurations()
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations()
}
}
}

View File

@@ -39,7 +39,9 @@ subprojects {
dependencyLocking {
ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
lockAllConfigurations()
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations()
}
}
}

View File

@@ -39,7 +39,9 @@ subprojects {
dependencyLocking {
ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
lockAllConfigurations()
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations()
}
}
}

View File

@@ -39,7 +39,9 @@ subprojects {
dependencyLocking {
ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
lockAllConfigurations()
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations()
}
}
}