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 9b6030c
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
Expand Up @@ -5,6 +5,10 @@ pluginManagement {
}
}

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

dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
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 9b6030c

Please sign in to comment.