HHH-14634 : Gradle Enterprise

This commit is contained in:
Steve Ebersole 2021-05-24 11:49:11 -05:00
parent 80801d27bb
commit 4880eab484
1 changed files with 23 additions and 1 deletions

View File

@ -6,7 +6,8 @@
*/ */
plugins { plugins {
id 'com.gradle.enterprise' version '3.2.1' id 'com.gradle.enterprise' version '3.6.1'
id 'com.gradle.common-custom-user-data-gradle-plugin' version '1.2.1'
} }
if ( !JavaVersion.current().java8Compatible ) { if ( !JavaVersion.current().java8Compatible ) {
@ -137,3 +138,24 @@ rootProject.children.each { project ->
assert project.buildFile.exists() assert project.buildFile.exists()
assert project.buildFile.isFile() assert project.buildFile.isFile()
} }
gradleEnterprise {
server = 'https://ge.hibernate.org'
buildScan {
termsOfServiceUrl = 'https://gradle.com/terms-of-service'
termsOfServiceAgree = 'yes'
captureTaskInputFiles = true
uploadInBackground = true
if ( System.properties.CI == true ) {
// always publish build-scans and upload the scans immediately
publishAlways()
uploadInBackground = false
tag 'ci'
}
value 'database', rootProject.hasProperty( 'db' ) ? rootProject.properties.db : 'h2'
}
}