Skip to content

Commit 7465c83

Browse files
authored
fix deprecated use of retry{} (#1548)
1 parent ba49940 commit 7465c83

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import com.gradle.enterprise.gradleplugin.testretry.retry
21
import io.opentelemetry.gradle.OtelJavaExtension
32
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
43

@@ -73,7 +72,7 @@ tasks {
7372
showStackTraces = true
7473
}
7574

76-
retry {
75+
develocity.testRetry {
7776
// You can see tests that were retried by this mechanism in the collected test reports and build scans.
7877
if (System.getenv().containsKey("CI") || rootProject.hasProperty("retryTests")) {
7978
maxRetries.set(5)

0 commit comments

Comments
 (0)