hibernate-orm/gradle/gradle-enterprise.gradle

30 lines
978 B
Groovy
Raw Normal View History

/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later
* See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html
*/
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Applies details for `https://ge.hibernate.org`
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-02-01 10:40:31 -05:00
apply from: file( 'system-information.gradle' )
gradleEnterprise {
server = 'https://ge.hibernate.org'
buildScan {
captureTaskInputFiles = true
publishAlways()
publishIfAuthenticated()
2022-02-01 10:40:31 -05:00
uploadInBackground = !settings.ext.isCiEnvironment
2022-02-01 10:40:31 -05:00
if ( settings.ext.isCiEnvironment ) {
tag "JOB ${System.getenv('JOB_NAME')}"
}
tag "JDK ${JavaVersion.current().toString()}"
value 'database', rootProject.hasProperty( 'db' ) ? rootProject.properties.db : 'h2'
}
}