Skip to content

Commit 3c07934

Browse files
authored
chore: set gradle to always update snapshots version when building (#120)
Signed-off-by: Tomer Figenblat <tfigenbl@redhat.com>
1 parent 9296f7b commit 3c07934

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ publishPlugin {
4343
}
4444

4545
dependencies {
46+
configurations.all {
47+
// this means SNAPSHOT versions will be updated for every build
48+
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
49+
}
50+
4651
// WATCH OUT - lsp4intellij version 0.95.1 breaks diagnostics for opened files
4752
implementation 'com.github.ballerina-platform:lsp4intellij:0.95.0'
4853
constraints {

0 commit comments

Comments
 (0)