Skip to content

Commit

Permalink
Update gradle-enterprise configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
aegershman committed Oct 21, 2021
1 parent 848dc77 commit a76aeb3
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,27 @@ rootProject.name = "rewrite-logging-frameworks"

plugins {
id("com.gradle.enterprise") version "3.7"
id("com.gradle.common-custom-user-data-gradle-plugin") version "1.4.2"
}

gradleEnterprise {
val isCiServer = System.getenv("CI")?.equals("true") ?: false
server = "https://ge.openrewrite.org/"

buildCache {
local {
isEnabled = true
}

remote(HttpBuildCache::class) {
isPush = true
url = uri("https://ge.openrewrite.org/cache/")
isPush = isCiServer
}

}

buildScan {
publishAlways()
isUploadInBackground = !isCiServer

capture {
isTaskInputFiles = true
}
}

}

0 comments on commit a76aeb3

Please sign in to comment.