HHH-14634 : Gradle Enterprise

- removed older "build scan recipes" plugin
- adjusted CI handling based on feedback
This commit is contained in:
Steve Ebersole 2021-05-25 16:33:02 -05:00
parent d7d74d0875
commit 1238e5261d
2 changed files with 2 additions and 18 deletions

View File

@ -31,8 +31,6 @@ plugins {
id 'org.jetbrains.gradle.plugin.idea-ext' version '0.5' id 'org.jetbrains.gradle.plugin.idea-ext' version '0.5'
id 'eclipse' id 'eclipse'
id 'me.champeau.buildscan-recipes' version '0.2.3'
id 'org.hibernate.build.xjc' version '2.0.1' apply false id 'org.hibernate.build.xjc' version '2.0.1' apply false
id 'biz.aQute.bnd' version '5.1.1' apply false id 'biz.aQute.bnd' version '5.1.1' apply false
} }
@ -165,15 +163,6 @@ wrapper {
} }
buildScan {
termsOfServiceUrl = 'https://gradle.com/terms-of-service'
termsOfServiceAgree = 'yes'
}
buildScanRecipes {
recipe 'git-commit', baseUrl: 'https://github.com/hibernate/hibernate-orm/tree'
}
idea { idea {
// project { // project {
// jdkName = gradle.ext.baselineJavaVersion // jdkName = gradle.ext.baselineJavaVersion

View File

@ -17,14 +17,9 @@ gradleEnterprise {
termsOfServiceAgree = 'yes' termsOfServiceAgree = 'yes'
captureTaskInputFiles = true captureTaskInputFiles = true
uploadInBackground = true
if ( System.properties.CI == true ) { publishAlways()
// always publish build-scans and upload the scans immediately uploadInBackground = System.getenv("CI") == null && System.getProperty("CI") == null
publishAlways()
uploadInBackground = false
tag 'ci'
}
value 'database', rootProject.hasProperty( 'db' ) ? rootProject.properties.db : 'h2' value 'database', rootProject.hasProperty( 'db' ) ? rootProject.properties.db : 'h2'
} }