2021-05-24 13:25:53 -04:00
|
|
|
/*
|
|
|
|
* 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`
|
|
|
|
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
gradleEnterprise {
|
|
|
|
server = 'https://ge.hibernate.org'
|
|
|
|
|
|
|
|
buildScan {
|
|
|
|
captureTaskInputFiles = true
|
2021-06-11 12:28:09 -04:00
|
|
|
publishAlways()
|
|
|
|
publishIfAuthenticated()
|
2021-05-24 13:25:53 -04:00
|
|
|
|
2021-06-11 12:28:09 -04:00
|
|
|
def isCi = System.getenv("CI") != null || System.getProperty("CI") != null
|
|
|
|
uploadInBackground = !isCi
|
|
|
|
|
|
|
|
if ( isCi ) {
|
2021-05-26 13:36:59 -04:00
|
|
|
tag "JOB ${System.getenv('JOB_NAME')}"
|
|
|
|
}
|
|
|
|
tag "JDK ${JavaVersion.current().toString()}"
|
2021-05-24 13:25:53 -04:00
|
|
|
value 'database', rootProject.hasProperty( 'db' ) ? rootProject.properties.db : 'h2'
|
|
|
|
}
|
|
|
|
}
|