File tree 3 files changed +10
-5
lines changed
3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,6 @@ plugins {
55
55
id ' opensearch.docker-support'
56
56
id ' opensearch.global-build-info'
57
57
id " com.diffplug.spotless" version " 6.25.0" apply false
58
- id " org.gradle.test-retry" version " 1.5.8" apply false
59
58
id " test-report-aggregation"
60
59
id ' jacoco-report-aggregation'
61
60
}
@@ -71,6 +70,13 @@ apply from: 'gradle/run.gradle'
71
70
apply from : ' gradle/missing-javadoc.gradle'
72
71
apply from : ' gradle/code-coverage.gradle'
73
72
73
+ // Disable unconditional publishing of build scans
74
+ develocity {
75
+ buildScan {
76
+ publishing. onlyIf { false }
77
+ }
78
+ }
79
+
74
80
// common maven publishing configuration
75
81
allprojects {
76
82
group = ' org.opensearch'
@@ -454,9 +460,8 @@ gradle.projectsEvaluated {
454
460
455
461
// test retry configuration
456
462
subprojects {
457
- apply plugin : " org.gradle.test-retry"
458
463
tasks. withType(Test ). configureEach {
459
- retry {
464
+ develocity . testRetry {
460
465
if (BuildParams . isCi()) {
461
466
maxRetries = 3
462
467
maxFailures = 10
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ org.gradle.jvmargs=-Xmx3g -XX:+HeapDumpOnOutOfMemoryError -Xss2m \
22
22
options.forkOptions.memoryMaximumSize =3g
23
23
24
24
# Disable Gradle Enterprise Gradle plugin's test retry
25
- systemProp.gradle.enterprise. testretry.enabled =false
25
+ systemProp.develocity. testretry.enabled .enabled =false
26
26
27
27
# Disable duplicate project id detection
28
28
# See https://docs.gradle.org/current/userguide/upgrading_version_6.html#duplicate_project_names_may_cause_publication_to_fail
Original file line number Diff line number Diff line change 10
10
*/
11
11
12
12
plugins {
13
- id " com.gradle.enterprise " version " 3.17.4"
13
+ id " com.gradle.develocity " version " 3.17.4"
14
14
}
15
15
16
16
ext. disableBuildCache = hasProperty(' DISABLE_BUILD_CACHE' ) || System . getenv(). containsKey(' DISABLE_BUILD_CACHE' )
You can’t perform that action at this time.
0 commit comments