From c25e0f1c738d689a64f8342626434601679b4a4a Mon Sep 17 00:00:00 2001 From: Chris Rankin Date: Mon, 4 Apr 2022 09:48:18 +0100 Subject: [PATCH] NOTICK: Force Gradle to use the most recent SNAPSHOTs. --- build.gradle | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 3498bcdd30..7bd87e42aa 100644 --- a/build.gradle +++ b/build.gradle @@ -206,7 +206,8 @@ buildscript { classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.8" } - configurations.all { + configurations.classpath { + // FORCE Gradle to use latest SNAPSHOT plugins. resolutionStrategy.cacheChangingModulesFor 0, 'seconds' } } @@ -472,6 +473,9 @@ allprojects { substitute module('org.jetbrains.kotlin:kotlin-stdlib') with module("org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version") substitute module('org.jetbrains.kotlin:kotlin-reflect') with module("org.jetbrains.kotlin:kotlin-reflect:$kotlin_version") } + + // FORCE Gradle to use latest SNAPSHOT dependencies. + cacheChangingModulesFor 0, 'seconds' } } }