NOTICK: Force Gradle to use the most recent SNAPSHOTs.

This commit is contained in:
Chris Rankin 2022-04-04 09:48:18 +01:00
parent e2fc6884c2
commit c25e0f1c73

View File

@ -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'
}
}
}