Unverified Commit 0bccce62 authored by Emmanuel Garcia's avatar Emmanuel Garcia Committed by GitHub

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

parent b947121f
...@@ -39,8 +39,10 @@ subprojects { ...@@ -39,8 +39,10 @@ subprojects {
dependencyLocking { dependencyLocking {
ignoredDependencies.add('io.flutter:*') ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile") lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations() lockAllConfigurations()
} }
}
} }
task clean(type: Delete) { task clean(type: Delete) {
......
...@@ -39,8 +39,10 @@ subprojects { ...@@ -39,8 +39,10 @@ subprojects {
dependencyLocking { dependencyLocking {
ignoredDependencies.add('io.flutter:*') ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile") lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations() lockAllConfigurations()
} }
}
} }
task clean(type: Delete) { task clean(type: Delete) {
......
...@@ -39,8 +39,10 @@ subprojects { ...@@ -39,8 +39,10 @@ subprojects {
dependencyLocking { dependencyLocking {
ignoredDependencies.add('io.flutter:*') ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile") lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations() lockAllConfigurations()
} }
}
} }
task clean(type: Delete) { task clean(type: Delete) {
......
...@@ -39,8 +39,10 @@ subprojects { ...@@ -39,8 +39,10 @@ subprojects {
dependencyLocking { dependencyLocking {
ignoredDependencies.add('io.flutter:*') ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile") lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations() lockAllConfigurations()
} }
}
} }
task clean(type: Delete) { task clean(type: Delete) {
......
...@@ -39,8 +39,10 @@ subprojects { ...@@ -39,8 +39,10 @@ subprojects {
dependencyLocking { dependencyLocking {
ignoredDependencies.add('io.flutter:*') ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile") lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations() lockAllConfigurations()
} }
}
} }
task clean(type: Delete) { task clean(type: Delete) {
......
...@@ -39,8 +39,10 @@ subprojects { ...@@ -39,8 +39,10 @@ subprojects {
dependencyLocking { dependencyLocking {
ignoredDependencies.add('io.flutter:*') ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile") lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations() lockAllConfigurations()
} }
}
} }
task clean(type: Delete) { task clean(type: Delete) {
......
...@@ -39,8 +39,10 @@ subprojects { ...@@ -39,8 +39,10 @@ subprojects {
dependencyLocking { dependencyLocking {
ignoredDependencies.add('io.flutter:*') ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile") lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations() lockAllConfigurations()
} }
}
} }
task clean(type: Delete) { task clean(type: Delete) {
......
...@@ -39,8 +39,10 @@ subprojects { ...@@ -39,8 +39,10 @@ subprojects {
dependencyLocking { dependencyLocking {
ignoredDependencies.add('io.flutter:*') ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile") lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations() lockAllConfigurations()
} }
}
} }
task clean(type: Delete) { task clean(type: Delete) {
......
...@@ -39,8 +39,10 @@ subprojects { ...@@ -39,8 +39,10 @@ subprojects {
dependencyLocking { dependencyLocking {
ignoredDependencies.add('io.flutter:*') ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile") lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations() lockAllConfigurations()
} }
}
} }
task clean(type: Delete) { task clean(type: Delete) {
......
...@@ -39,8 +39,10 @@ subprojects { ...@@ -39,8 +39,10 @@ subprojects {
dependencyLocking { dependencyLocking {
ignoredDependencies.add('io.flutter:*') ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile") lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations() lockAllConfigurations()
} }
}
} }
task clean(type: Delete) { task clean(type: Delete) {
......
...@@ -39,8 +39,10 @@ subprojects { ...@@ -39,8 +39,10 @@ subprojects {
dependencyLocking { dependencyLocking {
ignoredDependencies.add('io.flutter:*') ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile") lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations() lockAllConfigurations()
} }
}
} }
task clean(type: Delete) { task clean(type: Delete) {
......
...@@ -39,8 +39,10 @@ subprojects { ...@@ -39,8 +39,10 @@ subprojects {
dependencyLocking { dependencyLocking {
ignoredDependencies.add('io.flutter:*') ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile") lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations() lockAllConfigurations()
} }
}
} }
task clean(type: Delete) { task clean(type: Delete) {
......
...@@ -39,8 +39,10 @@ subprojects { ...@@ -39,8 +39,10 @@ subprojects {
dependencyLocking { dependencyLocking {
ignoredDependencies.add('io.flutter:*') ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile") lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations() lockAllConfigurations()
} }
}
} }
task clean(type: Delete) { task clean(type: Delete) {
......
...@@ -39,8 +39,10 @@ subprojects { ...@@ -39,8 +39,10 @@ subprojects {
dependencyLocking { dependencyLocking {
ignoredDependencies.add('io.flutter:*') ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile") lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations() lockAllConfigurations()
} }
}
} }
task clean(type: Delete) { task clean(type: Delete) {
......
...@@ -39,8 +39,10 @@ subprojects { ...@@ -39,8 +39,10 @@ subprojects {
dependencyLocking { dependencyLocking {
ignoredDependencies.add('io.flutter:*') ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile") lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations() lockAllConfigurations()
} }
}
} }
task clean(type: Delete) { task clean(type: Delete) {
......
...@@ -39,8 +39,10 @@ subprojects { ...@@ -39,8 +39,10 @@ subprojects {
dependencyLocking { dependencyLocking {
ignoredDependencies.add('io.flutter:*') ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile") lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations() lockAllConfigurations()
} }
}
} }
task clean(type: Delete) { task clean(type: Delete) {
......
...@@ -39,8 +39,10 @@ subprojects { ...@@ -39,8 +39,10 @@ subprojects {
dependencyLocking { dependencyLocking {
ignoredDependencies.add('io.flutter:*') ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile") lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations() lockAllConfigurations()
} }
}
} }
task clean(type: Delete) { task clean(type: Delete) {
......
...@@ -39,8 +39,10 @@ subprojects { ...@@ -39,8 +39,10 @@ subprojects {
dependencyLocking { dependencyLocking {
ignoredDependencies.add('io.flutter:*') ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile") lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations() lockAllConfigurations()
} }
}
} }
task clean(type: Delete) { task clean(type: Delete) {
......
...@@ -39,8 +39,10 @@ subprojects { ...@@ -39,8 +39,10 @@ subprojects {
dependencyLocking { dependencyLocking {
ignoredDependencies.add('io.flutter:*') ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile") lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations() lockAllConfigurations()
} }
}
} }
task clean(type: Delete) { task clean(type: Delete) {
......
...@@ -39,8 +39,10 @@ subprojects { ...@@ -39,8 +39,10 @@ subprojects {
dependencyLocking { dependencyLocking {
ignoredDependencies.add('io.flutter:*') ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile") lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations() lockAllConfigurations()
} }
}
} }
task clean(type: Delete) { task clean(type: Delete) {
......
...@@ -161,8 +161,10 @@ subprojects { ...@@ -161,8 +161,10 @@ subprojects {
dependencyLocking { dependencyLocking {
ignoredDependencies.add('io.flutter:*') ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile") lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations() lockAllConfigurations()
} }
}
} }
task clean(type: Delete) { task clean(type: Delete) {
......
...@@ -39,8 +39,10 @@ subprojects { ...@@ -39,8 +39,10 @@ subprojects {
dependencyLocking { dependencyLocking {
ignoredDependencies.add('io.flutter:*') ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile") lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations() lockAllConfigurations()
} }
}
} }
task clean(type: Delete) { task clean(type: Delete) {
......
...@@ -39,8 +39,10 @@ subprojects { ...@@ -39,8 +39,10 @@ subprojects {
dependencyLocking { dependencyLocking {
ignoredDependencies.add('io.flutter:*') ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile") lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations() lockAllConfigurations()
} }
}
} }
task clean(type: Delete) { task clean(type: Delete) {
......
...@@ -39,8 +39,10 @@ subprojects { ...@@ -39,8 +39,10 @@ subprojects {
dependencyLocking { dependencyLocking {
ignoredDependencies.add('io.flutter:*') ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile") lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations() lockAllConfigurations()
} }
}
} }
task clean(type: Delete) { task clean(type: Delete) {
......
...@@ -39,8 +39,10 @@ subprojects { ...@@ -39,8 +39,10 @@ subprojects {
dependencyLocking { dependencyLocking {
ignoredDependencies.add('io.flutter:*') ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile") lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations() lockAllConfigurations()
} }
}
} }
task clean(type: Delete) { task clean(type: Delete) {
......
...@@ -39,8 +39,10 @@ subprojects { ...@@ -39,8 +39,10 @@ subprojects {
dependencyLocking { dependencyLocking {
ignoredDependencies.add('io.flutter:*') ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile") lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations() lockAllConfigurations()
} }
}
} }
task clean(type: Delete) { task clean(type: Delete) {
......
...@@ -39,8 +39,10 @@ subprojects { ...@@ -39,8 +39,10 @@ subprojects {
dependencyLocking { dependencyLocking {
ignoredDependencies.add('io.flutter:*') ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile") lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations() lockAllConfigurations()
} }
}
} }
task clean(type: Delete) { task clean(type: Delete) {
......
...@@ -39,8 +39,10 @@ subprojects { ...@@ -39,8 +39,10 @@ subprojects {
dependencyLocking { dependencyLocking {
ignoredDependencies.add('io.flutter:*') ignoredDependencies.add('io.flutter:*')
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile") lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
if (!project.hasProperty('local-engine-repo')) {
lockAllConfigurations() lockAllConfigurations()
} }
}
} }
task clean(type: Delete) { task clean(type: Delete) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment