aboutsummaryrefslogtreecommitdiffstats
path: root/build.gradle
diff options
context:
space:
mode:
authorPhilippe Perrin <philippe.perrin@sonarsource.com>2021-10-04 12:03:06 +0200
committersonartech <sonartech@sonarsource.com>2021-10-06 20:03:08 +0000
commitcffacbf903fdce93764694228d7053903b79b180 (patch)
treec5a20098c0f4623e43fd6054bce76ab383c5d08b /build.gradle
parent402bf5bc9d13517d5b1dc8d6a1ddae865f808388 (diff)
downloadsonarqube-cffacbf903fdce93764694228d7053903b79b180.tar.gz
sonarqube-cffacbf903fdce93764694228d7053903b79b180.zip
Remove unused configuration code
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle7
1 files changed, 0 insertions, 7 deletions
diff --git a/build.gradle b/build.gradle
index c03c57edbc6..e720c228f4f 100644
--- a/build.gradle
+++ b/build.gradle
@@ -629,13 +629,6 @@ subprojects {
}
}
-// by default, Yarn will update lock file if it is not up to date with "package.json"
-// using option "--immutable" will disable this behavior and "yarn install" will fail if lock file is out of date
-// all "yarn install" tasks should be executed with this option for reproducibility of builds
-// and to prevent developers from forgetting to update lock file when they update "package.json"
-def yarnInstallTasks = allprojects.findResults { it -> it.tasks.findByName('yarn') }
-yarnInstallTasks.each { it -> it.args = ['--immutable'] }
-
// https://github.com/ben-manes/gradle-versions-plugin
apply plugin: 'com.github.ben-manes.versions'
dependencyUpdates {