Skip to content

Commit b5bc203

Browse files
authored
Add cacheDynamicVersionsFor(0, "seconds") to Gradle metadata test (#29)
1 parent 792631b commit b5bc203

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/test/resources/com/fasterxml/jackson/integtest/gradle/build.gradle.kts

+4
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ dependencies {
2626

2727
repositories.mavenCentral()
2828

29+
configurations.all {
30+
resolutionStrategy.cacheDynamicVersionsFor(0, "seconds") // always refresh SNAPSHOTs
31+
}
32+
2933
// (miss-)use a component metadata rule to collect all entries from the BOM
3034
val allJacksonModule = mutableListOf<String>()
3135
dependencies.components.withModule("com.fasterxml.jackson:jackson-bom") {

0 commit comments

Comments
 (0)