Skip to content

Commit

Permalink
build: remove gradle enterprise plugin/config (#2324)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamvduke authored Nov 11, 2022
1 parent 5f04ee7 commit c7f53ca
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ include(
"test_projects:android",
":common",
":flank_wrapper",

":tool:apk",
":tool:config",
":tool:filter",
Expand All @@ -35,30 +34,3 @@ include(
":tool:execution:linear",
":tool:resource",
)

plugins {
id("com.gradle.enterprise") version "3.5"
}

@Suppress("UnstableApiUsage")
val isCI: Boolean = serviceOf<ProviderFactory>()
.environmentVariable("CI")
.forUseAtConfigurationTime().map { it == "true" }
.getOrElse(false)

gradleEnterprise {
buildScan {
server = "https://flank.gradle-enterprise.cloud/"
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
publishAlwaysIf(isCI)
background {
val os = ByteArrayOutputStream()
exec {
commandLine("git", "rev-parse", "--verify", "HEAD")
standardOutput = os
}
value("Git Commit ID", os.toString())
}
}
}

0 comments on commit c7f53ca

Please sign in to comment.