Skip to content

Commit

Permalink
Publish build scans
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszkwiecinski committed Jan 21, 2024
1 parent 4edc742 commit b04f603
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,4 @@ jobs:
build-root-directory: testproject
project: ""
debug: true
additional-gradle-arguments: "--scan"
13 changes: 13 additions & 0 deletions testproject/settings.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
plugins {
id("com.gradle.enterprise") version "3.16.1"
}

pluginManagement {
repositories {
mavenCentral()
Expand All @@ -14,3 +18,12 @@ dependencyResolutionManagement {
}

rootProject.name = 'com.starter.dependencydiff.test'

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

uploadInBackground = System.getenv("CI") == null
}
}

0 comments on commit b04f603

Please sign in to comment.