File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ subprojects {
2121
2222 extra.set(" versions" , mapOf (
2323 " opentelemetry" to " 0.12.0" ,
24- " opentelemetryJavaagent" to " 0.13.0-SNAPSHOT "
24+ " opentelemetryJavaagent" to " 0.12.0 "
2525 ))
2626
2727 repositories {
Original file line number Diff line number Diff line change 11plugins {
22 java
3+ id(" org.gradle.test-retry" ) version " 1.2.0"
34}
45
56dependencies {
@@ -16,11 +17,17 @@ dependencies {
1617
1718tasks.test {
1819 useJUnitPlatform()
20+ maxParallelForks = 2
21+ retry {
22+ // You can see tests that were retried by this mechanism in the collected test reports and build scans.
23+ maxRetries.set(if (System .getenv(" CI" ) != null ) 5 else 0 )
24+ }
25+
1926 reports {
2027 junitXml.isOutputPerTestCase = true
2128 }
2229
23- val shadowTask : Jar = project(" :agent" ).tasks.named<Jar >(" shadowJar" ).get()
30+ val shadowTask: Jar = project(" :agent" ).tasks.named<Jar >(" shadowJar" ).get()
2431 inputs.files(layout.files(shadowTask))
2532
2633 doFirst {
You can’t perform that action at this time.
0 commit comments