HHH-14634 : Gradle Enterprise
This commit is contained in:
parent
80801d27bb
commit
4880eab484
|
@ -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'
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue