Skip to content

Commit ef6ff58

Browse files
committed
fix
1 parent 3efdfaa commit ef6ff58

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

buildSrc/src/main/kotlin/otel.japicmp-conventions.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ plugins {
1616
val latestReleasedVersion: String by lazy {
1717
// hack to find the current released version of the project
1818
val temp: Configuration = configurations.create("tempConfig")
19+
temp.resolutionStrategy.cacheDynamicVersionsFor(0, TimeUnit.SECONDS)
1920
dependencies.add(temp.name, "io.opentelemetry.semconv:opentelemetry-semconv:latest.release")
2021
val moduleVersion = configurations["tempConfig"].resolvedConfiguration.firstLevelModuleDependencies.elementAt(0).moduleVersion
2122
configurations.remove(temp)

0 commit comments

Comments
 (0)