HHH-14634 : Gradle Enterprise
- removed older "build scan recipes" plugin - adjusted CI handling based on feedback
This commit is contained in:
parent
d7d74d0875
commit
1238e5261d
11
build.gradle
11
build.gradle
|
@ -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
|
||||||
|
|
|
@ -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'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue