Skip to content

Commit b45b8ce

Browse files
committed
Delete gradle enterprise
1 parent 37b83cf commit b45b8ce

File tree

2 files changed

+0
-29
lines changed

2 files changed

+0
-29
lines changed

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import com.gradle.enterprise.gradleplugin.testretry.retry
21
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
32
import java.time.Duration
43

@@ -114,13 +113,6 @@ tasks.withType<Test>().configureEach {
114113
// This value is quite big because with lower values (3 mins) we were experiencing large number of false positives
115114
timeout.set(Duration.ofMinutes(15))
116115

117-
retry {
118-
// You can see tests that were retried by this mechanism in the collected test reports and build scans.
119-
if (System.getenv().containsKey("CI")) {
120-
maxRetries.set(5)
121-
}
122-
}
123-
124116
reports {
125117
junitXml.isOutputPerTestCase = true
126118
}

settings.gradle.kts

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,6 @@ pluginManagement {
99
}
1010
}
1111

12-
plugins {
13-
if (System.getenv("GRADLE_OPTS") != null) {
14-
id("com.gradle") version "3.18.1"
15-
} else {
16-
id("com.gradle.enterprise") version "3.18.1"
17-
}
18-
}
19-
2012
dependencyResolutionManagement {
2113
repositories {
2214
mavenCentral()
@@ -25,19 +17,6 @@ dependencyResolutionManagement {
2517
}
2618
}
2719

28-
val isCI = System.getenv("CI") != null
29-
gradleEnterprise {
30-
buildScan {
31-
termsOfServiceUrl = "https://gradle.com/terms-of-service"
32-
termsOfServiceAgree = "yes"
33-
34-
if (isCI) {
35-
publishAlways()
36-
tag("CI")
37-
}
38-
}
39-
}
40-
4120
rootProject.name = "ApplicationInsights-Java"
4221

4322
val buildNative = System.getProperty("ai.etw.native.build") != null && Os.isFamily(Os.FAMILY_WINDOWS)

0 commit comments

Comments
 (0)