Skip to content

Commit 25afc1b

Browse files
committed
force Gradle to refresh Selenium *-SNAPSHOT version
In this context, "changing modules" means "SNAPSHOT"s. So Gradle will be force to reload only snapshots, and it doesn't affect normal work with stable versions.
1 parent 8b63a3a commit 25afc1b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ repositories {
3838
}
3939
}
4040

41+
configurations.configureEach {
42+
resolutionStrategy.cacheChangingModulesFor 1, 'minutes'
43+
}
44+
4145
java {
4246
sourceCompatibility = JavaVersion.VERSION_11
4347
targetCompatibility = JavaVersion.VERSION_11

0 commit comments

Comments
 (0)