Skip to content

Commit

Permalink
Publish build scan on CI
Browse files Browse the repository at this point in the history
Closes: #28
  • Loading branch information
etonotieno committed Oct 11, 2023
1 parent c0cd8a6 commit 7dc7695
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,29 @@ pluginManagement {
gradlePluginPortal()
}
}

dependencyResolutionManagement {
repositories {
google()
mavenCentral()
}
}

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

val isCi = providers.environmentVariable("CI").isPresent

gradleEnterprise {
buildScan {
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"

publishAlwaysIf(isCi)
}
}

enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")

rootProject.name = "GoCart"
Expand Down

0 comments on commit 7dc7695

Please sign in to comment.