2015-05-19 00:23:35 -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>.
|
|
|
|
*/
|
2020-04-02 10:27:06 -04:00
|
|
|
|
2021-07-19 17:45:50 -04:00
|
|
|
pluginManagement {
|
|
|
|
repositories {
|
|
|
|
gradlePluginPortal()
|
|
|
|
maven {
|
|
|
|
name = 'localPluginRepository'
|
|
|
|
url = uri( "${gradle.gradleUserHomeDir}/tmp/plugins" )
|
|
|
|
}
|
|
|
|
}
|
2022-04-22 10:30:41 -04:00
|
|
|
|
|
|
|
includeBuild 'local-build-plugins'
|
2021-07-19 17:45:50 -04:00
|
|
|
}
|
|
|
|
|
2020-04-02 10:27:06 -04:00
|
|
|
plugins {
|
2022-04-22 19:40:06 -04:00
|
|
|
id 'org.hibernate.orm.build.env-settings'
|
2023-10-02 01:15:20 -04:00
|
|
|
id 'com.gradle.enterprise' version '3.15'
|
|
|
|
id 'com.gradle.common-custom-user-data-gradle-plugin' version '1.11.3'
|
2020-04-02 10:27:06 -04:00
|
|
|
}
|
|
|
|
|
2022-03-15 10:39:07 -04:00
|
|
|
dependencyResolutionManagement {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
2022-02-23 07:18:03 -05:00
|
|
|
// Needed for the RC versions of Jakarta Persistence
|
|
|
|
maven {
|
|
|
|
url "https://jakarta.oss.sonatype.org/content/repositories/releases/"
|
|
|
|
}
|
|
|
|
// Needed for the SNAPSHOT versions of Jakarta Persistence
|
|
|
|
maven {
|
|
|
|
url "https://jakarta.oss.sonatype.org/content/repositories/snapshots/"
|
|
|
|
}
|
2022-03-15 10:39:07 -04:00
|
|
|
|
|
|
|
//Allow loading additional dependencies from a local path;
|
|
|
|
//useful to load JDBC drivers which can not be distributed in public.
|
|
|
|
if (System.env['ADDITIONAL_REPO'] != null) {
|
|
|
|
flatDir {
|
|
|
|
dirs "${System.env.ADDITIONAL_REPO}"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-04-22 19:40:06 -04:00
|
|
|
|
|
|
|
pluginManagement {
|
|
|
|
repositories {
|
|
|
|
gradlePluginPortal()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
versionCatalogs {
|
2023-08-07 21:05:47 -04:00
|
|
|
jdks {
|
2023-08-08 19:11:13 -04:00
|
|
|
version "baseline", "11"
|
2023-08-07 21:05:47 -04:00
|
|
|
|
|
|
|
// Gradle does bytecode transformation on tests.
|
|
|
|
// You can't use bytecode higher than what Gradle supports, even with toolchains.
|
2023-08-08 19:11:13 -04:00
|
|
|
version "maxSupportedBytecode", "21"
|
2023-08-07 21:05:47 -04:00
|
|
|
}
|
2022-04-22 19:40:06 -04:00
|
|
|
libs {
|
2023-08-08 19:11:13 -04:00
|
|
|
def antlrVersion = version "antlr", "4.10.1"
|
|
|
|
def byteBuddyVersion = version "byteBuddy", "1.14.7"
|
|
|
|
def classmateVersion = version "classmate", "1.5.1"
|
|
|
|
def geolatteVersion = version "geolatte", "1.8.2"
|
|
|
|
def hcannVersion = version "hcann", "6.0.6.Final"
|
|
|
|
def jandexVersion = version "jandex", "3.0.5"
|
|
|
|
def jacksonVersion = version "jackson", "2.14.1"
|
|
|
|
def jbossLoggingVersion = version "jbossLogging", "3.5.0.Final"
|
|
|
|
def jbossLoggingToolVersion = version "jbossLoggingTool", "2.2.1.Final"
|
2023-07-31 11:34:57 -04:00
|
|
|
|
2023-08-08 19:11:13 -04:00
|
|
|
def agroalVersion = version "agroal", "2.0"
|
|
|
|
def c3poVersion = version"c3p0", "0.9.5.5"
|
|
|
|
def hikaricpVersion = version "hikaricp", "3.2.0"
|
|
|
|
def proxoolVersion = version "proxool", "0.8.3"
|
|
|
|
def viburVersion = version "vibur", "25.0"
|
2023-07-31 11:34:57 -04:00
|
|
|
|
2023-08-08 19:11:13 -04:00
|
|
|
def jcacheVersion = version "jcache", "1.0.0"
|
|
|
|
def ehcache3Version = version "ehcache3", "3.10.8"
|
2023-07-31 11:34:57 -04:00
|
|
|
|
2023-08-08 19:11:13 -04:00
|
|
|
def micrometerVersion = version "micrometer", "1.10.4"
|
2023-07-31 11:34:57 -04:00
|
|
|
|
2023-08-08 19:11:13 -04:00
|
|
|
def hibernateValidatorVersion = version "hibernateValidator", "8.0.0.Final"
|
2023-07-31 11:34:57 -04:00
|
|
|
|
2023-08-08 19:11:13 -04:00
|
|
|
library( "antlr", "org.antlr", "antlr4" ).versionRef( antlrVersion )
|
|
|
|
library( "antlrRuntime", "org.antlr", "antlr4-runtime" ).versionRef( antlrVersion)
|
2023-07-31 11:34:57 -04:00
|
|
|
|
2023-08-08 19:11:13 -04:00
|
|
|
library( "byteBuddy", "net.bytebuddy", "byte-buddy" ).versionRef( byteBuddyVersion )
|
|
|
|
library( "byteBuddyAgent", "net.bytebuddy", "byte-buddy-agent" ).versionRef( byteBuddyVersion )
|
2023-07-31 11:34:57 -04:00
|
|
|
|
2023-08-08 19:11:13 -04:00
|
|
|
library( "logging", "org.jboss.logging", "jboss-logging" ).versionRef( jbossLoggingVersion )
|
|
|
|
library( "loggingAnnotations", "org.jboss.logging", "jboss-logging-annotations" ).versionRef( jbossLoggingToolVersion )
|
|
|
|
library( "loggingProcessor", "org.jboss.logging", "jboss-logging-processor" ).versionRef( jbossLoggingToolVersion )
|
2023-07-31 11:34:57 -04:00
|
|
|
|
2023-08-08 19:11:13 -04:00
|
|
|
library( "hcann", "org.hibernate.common", "hibernate-commons-annotations" ).versionRef( hcannVersion )
|
|
|
|
library( "jandex", "io.smallrye", "jandex" ).versionRef( jandexVersion )
|
|
|
|
library( "classmate", "com.fasterxml", "classmate" ).versionRef( classmateVersion )
|
2023-07-31 11:34:57 -04:00
|
|
|
|
2023-08-08 19:11:13 -04:00
|
|
|
library( "jackson", "com.fasterxml.jackson.core", "jackson-databind" ).versionRef( jacksonVersion )
|
|
|
|
library( "jacksonXml", "com.fasterxml.jackson.dataformat", "jackson-dataformat-xml" ).versionRef( jacksonVersion )
|
|
|
|
library( "jacksonJsr310", "com.fasterxml.jackson.datatype", "jackson-datatype-jsr310" ).versionRef( jacksonVersion )
|
|
|
|
library( "validator", "org.hibernate.validator", "hibernate-validator" ).versionRef( hibernateValidatorVersion )
|
2023-07-31 11:34:57 -04:00
|
|
|
|
2023-08-08 19:11:13 -04:00
|
|
|
library( "agroal", "io.agroal", "agroal-api" ).versionRef( agroalVersion )
|
|
|
|
library( "agroalPool", "io.agroal", "agroal-pool" ).versionRef( agroalVersion )
|
2023-07-31 11:34:57 -04:00
|
|
|
|
2023-08-08 19:11:13 -04:00
|
|
|
library( "c3p0", "com.mchange", "c3p0" ).versionRef( c3poVersion )
|
2023-07-31 11:34:57 -04:00
|
|
|
|
2023-08-08 19:11:13 -04:00
|
|
|
library( "hikaricp", "com.zaxxer", "HikariCP" ).versionRef( hikaricpVersion )
|
2023-07-31 11:34:57 -04:00
|
|
|
|
2023-08-08 19:11:13 -04:00
|
|
|
library( "proxool", "proxool", "proxool" ).versionRef( proxoolVersion )
|
2023-07-31 11:34:57 -04:00
|
|
|
|
2023-08-08 19:11:13 -04:00
|
|
|
library( "vibur", "org.vibur", "vibur-dbcp" ).versionRef( viburVersion )
|
2023-07-31 11:34:57 -04:00
|
|
|
|
2023-08-08 19:11:13 -04:00
|
|
|
library( "geolatte", "org.geolatte", "geolatte-geom" ).versionRef( geolatteVersion )
|
2023-07-31 11:34:57 -04:00
|
|
|
|
2023-08-08 19:11:13 -04:00
|
|
|
library( "jcache", "javax.cache", "cache-api" ).versionRef( jcacheVersion )
|
|
|
|
library( "ehcache3", "org.ehcache", "ehcache" ).versionRef( ehcache3Version )
|
2023-07-31 11:34:57 -04:00
|
|
|
|
2023-08-08 19:11:13 -04:00
|
|
|
library( "micrometer", "io.micrometer", "micrometer-core" ).versionRef( micrometerVersion )
|
2023-07-31 11:34:57 -04:00
|
|
|
|
|
|
|
library( "ant", "org.apache.ant", "ant" ).version( "1.8.2" )
|
2022-04-22 19:40:06 -04:00
|
|
|
}
|
|
|
|
jakartaLibs {
|
2022-05-09 20:33:30 -04:00
|
|
|
// `jakartaJpaVersion` comes from the local-build-plugins to allow for command-line overriding of the JPA version to use
|
2023-08-08 19:11:13 -04:00
|
|
|
def jpaVersion = version "jpa", "${jakartaJpaVersion}"
|
|
|
|
|
|
|
|
def annotationVersion = version "annotation", "2.1.1"
|
|
|
|
def cdiVersion = version "cdi", "4.0.1"
|
|
|
|
def elVersion = version "el", "5.0.0"
|
|
|
|
def injectVersion = version "inject", "2.0.1"
|
|
|
|
def interceptorsVersion = version "interceptors", "2.1.0"
|
|
|
|
def jaccVersion = version "jacc", "2.1.0"
|
|
|
|
def jaxbApiVersion = version "jaxbApi", "4.0.0"
|
|
|
|
def jaxbRuntimeVersion = version "jaxbRuntime", "4.0.2"
|
|
|
|
def jsonbApiVersion = version "jsonbApi", "3.0.0"
|
|
|
|
def jsonbRuntimeVersion = version "jsonbRuntime", "3.0.2"
|
|
|
|
def jtaVersion = version "jta", "2.0.1"
|
|
|
|
def validationVersion = version "validation", "3.0.2"
|
|
|
|
def xjcVersion = version "jaxbRuntime", jaxbRuntimeVersion
|
|
|
|
|
|
|
|
library( "jpa", "jakarta.persistence", "jakarta.persistence-api" ).versionRef( jpaVersion )
|
|
|
|
library( "jta", "jakarta.transaction", "jakarta.transaction-api" ).versionRef( jtaVersion )
|
|
|
|
|
|
|
|
library( "validation", "jakarta.validation", "jakarta.validation-api" ).versionRef( validationVersion )
|
|
|
|
library( "jacc", "jakarta.authorization", "jakarta.authorization-api" ).versionRef( jaccVersion )
|
|
|
|
library( "cdi", "jakarta.enterprise", "jakarta.enterprise.cdi-api" ).versionRef( cdiVersion )
|
|
|
|
library( "annotation", "jakarta.annotation", "jakarta.annotation-api" ).versionRef( annotationVersion )
|
|
|
|
library( "interceptors", "jakarta.interceptor", "jakarta.interceptor-api" ).versionRef( interceptorsVersion )
|
|
|
|
library( "jsonbApi", "jakarta.json.bind", "jakarta.json.bind-api" ).versionRef( jsonbApiVersion )
|
|
|
|
library( "jsonb", "org.eclipse", "yasson" ).versionRef( jsonbRuntimeVersion )
|
|
|
|
library( "inject", "jakarta.inject", "jakarta.inject-api" ).versionRef( injectVersion )
|
|
|
|
library( "jaxbApi", "jakarta.xml.bind", "jakarta.xml.bind-api" ).versionRef( jaxbApiVersion )
|
|
|
|
library( "jaxb", "org.glassfish.jaxb", "jaxb-runtime" ).versionRef( jaxbRuntimeVersion )
|
|
|
|
library( "xjc", "org.glassfish.jaxb", "jaxb-xjc" ).versionRef( xjcVersion )
|
|
|
|
library( "el", "org.glassfish.expressly", "expressly" ).versionRef( elVersion )
|
2022-04-22 19:40:06 -04:00
|
|
|
}
|
|
|
|
testLibs {
|
2023-08-08 19:11:13 -04:00
|
|
|
def junit5Version = version "junit5", "5.9.2"
|
|
|
|
def junit4Version = version "junit4", "4.13.2"
|
|
|
|
|
|
|
|
def assertjVersion = version "assertj", "3.22.0"
|
|
|
|
def bytemanVersion = version "byteman", "4.0.20"
|
|
|
|
def jbossJtaVersion = version "jbossJta", "7.0.0.Final"
|
|
|
|
def jbossTxSpiVersion = version "jbossTxSpi", "8.0.0.Final"
|
|
|
|
def log4jVersion = version "log4j", "2.17.1"
|
|
|
|
def mockitoVersion = version "mockito", "5.2.0"
|
2023-07-31 11:34:57 -04:00
|
|
|
//Compatible with JDK20
|
2023-08-08 19:11:13 -04:00
|
|
|
def shrinkwrapVersion = version "shrinkwrap", "1.2.6"
|
|
|
|
def shrinkwrapDescriptorsVersion = version "shrinkwrapDescriptors", "2.0.0"
|
|
|
|
def weldVersion = version "weld", "4.0.1.SP1"
|
|
|
|
def wildFlyTxnClientVersion = version "wildFlyTxnClient", "2.0.0.Final"
|
|
|
|
def xapoolVersion = version "xapool", "1.5.0"
|
2023-07-31 11:34:57 -04:00
|
|
|
|
2023-08-08 19:11:13 -04:00
|
|
|
library( "junit5Api", "org.junit.jupiter", "junit-jupiter-api" ).versionRef( junit5Version )
|
|
|
|
library( "junit5Engine", "org.junit.jupiter", "junit-jupiter-engine" ).versionRef( junit5Version )
|
|
|
|
library( "junit5Params", "org.junit.jupiter", "junit-jupiter-params" ).versionRef( junit5Version )
|
|
|
|
library( "junit4Engine", "org.junit.vintage", "junit-vintage-engine" ).versionRef( junit5Version )
|
|
|
|
library( "junit4", "junit", "junit" ).versionRef( junit4Version )
|
2023-07-31 11:34:57 -04:00
|
|
|
|
2023-08-08 19:11:13 -04:00
|
|
|
library( "assertjCore", "org.assertj", "assertj-core" ).versionRef( assertjVersion )
|
|
|
|
library( "assertjApi", "org.assertj", "assertj-core-api" ).versionRef( assertjVersion )
|
2023-07-31 11:34:57 -04:00
|
|
|
|
2023-08-08 19:11:13 -04:00
|
|
|
library( "log4j2", "org.apache.logging.log4j", "log4j-core" ).versionRef( log4jVersion )
|
2023-07-31 11:34:57 -04:00
|
|
|
|
2023-08-08 19:11:13 -04:00
|
|
|
library( "shrinkwrap", "org.jboss.shrinkwrap", "shrinkwrap-impl-base" ).versionRef( shrinkwrapVersion )
|
|
|
|
library( "shrinkwrapApi", "org.jboss.shrinkwrap", "shrinkwrap-api" ).versionRef( shrinkwrapVersion )
|
|
|
|
library( "shrinkwrapDescriptors", "org.jboss.shrinkwrap.descriptors", "shrinkwrap-descriptors-impl-javaee" ).versionRef( shrinkwrapDescriptorsVersion )
|
|
|
|
library( "shrinkwrapDescriptorsApi", "org.jboss.shrinkwrap.descriptors", "shrinkwrap-descriptors-api-javaee" ).versionRef( shrinkwrapDescriptorsVersion )
|
2023-07-31 11:34:57 -04:00
|
|
|
|
2023-08-08 19:11:13 -04:00
|
|
|
library( "byteman", "org.jboss.byteman", "byteman" ).versionRef( bytemanVersion )
|
|
|
|
library( "bytemanInstall", "org.jboss.byteman", "byteman-install" ).versionRef( bytemanVersion )
|
|
|
|
library( "bytemanBmunit", "org.jboss.byteman", "byteman-bmunit" ).versionRef( bytemanVersion )
|
2023-07-31 11:34:57 -04:00
|
|
|
|
2023-08-08 19:11:13 -04:00
|
|
|
library( "mockito", "org.mockito", "mockito-core" ).versionRef( mockitoVersion )
|
|
|
|
library( "mockitoInline", "org.mockito", "mockito-inline" ).versionRef( mockitoVersion )
|
2023-07-31 11:34:57 -04:00
|
|
|
|
2023-08-08 19:11:13 -04:00
|
|
|
library( "xapool", "com.experlog", "xapool" ).versionRef( xapoolVersion )
|
|
|
|
library( "jbossJta", "org.jboss.narayana.jta", "narayana-jta" ).versionRef( jbossJtaVersion )
|
|
|
|
library( "jbossTxSpi", "org.jboss", "jboss-transaction-spi" ).versionRef( jbossTxSpiVersion )
|
|
|
|
library( "wildFlyTxnClient", "org.wildfly.transaction", "wildfly-transaction-client-jakarta" ).versionRef( wildFlyTxnClientVersion )
|
2023-07-31 11:34:57 -04:00
|
|
|
|
2023-08-08 19:11:13 -04:00
|
|
|
library( "weld", "org.jboss.weld.se", "weld-se-shaded" ).versionRef( weldVersion )
|
2022-04-22 19:40:06 -04:00
|
|
|
}
|
|
|
|
dbLibs {
|
2023-08-08 19:11:13 -04:00
|
|
|
def h2Version = version "h2", overrideableVersion( "gradle.libs.versions.h2", "2.2.220" )
|
2023-07-31 11:34:57 -04:00
|
|
|
|
2023-08-08 19:11:13 -04:00
|
|
|
def db2Version = version "db2", "11.5.8.0"
|
2023-07-31 11:34:57 -04:00
|
|
|
// Latest Derby version 10.16.1.1 only supports JDK 17+, but 10.15.2 should be compatible
|
2023-08-08 19:11:13 -04:00
|
|
|
def derbyVersion = version "dervy", overrideableVersion( "gradle.libs.versions.derby", "10.15.2.0" )
|
|
|
|
def firebirdVersion = version "firebird", "4.0.8.java11"
|
|
|
|
def hanaVersion = version "hana", "2.16.14"
|
|
|
|
def h2gisVersion = version "h2gis", overrideableVersion( "gradle.libs.versions.h2gis", "2.1.0" )
|
|
|
|
def hsqldbVersion = version "hsqldb", overrideableVersion( "gradle.libs.versions.hsqldb", "2.7.2" )
|
|
|
|
def informixVersion = version "informix", "4.10.12"
|
|
|
|
def mariadbVersion = version "mariadb", "2.7.9"
|
|
|
|
def mssqlVersion = version "mssql", "12.2.0.jre11"
|
|
|
|
def mysqlVersion = version "mysql", "8.0.33"
|
2023-10-04 04:37:07 -04:00
|
|
|
def oracleVersion = version "oracle", "23.3.0.23.09"
|
2023-10-02 09:19:12 -04:00
|
|
|
def oracleLegacyVersion = version "oracleLegacy", "11.2.0.4"
|
2023-08-08 19:11:13 -04:00
|
|
|
def pgsqlVersion = version "pgsql", "42.6.0"
|
|
|
|
def sybaseVersion = version "sybase", "1.3.1"
|
|
|
|
def tidbVersion = version "tidb", mysqlVersion
|
|
|
|
|
|
|
|
library( "h2", "com.h2database", "h2" ).versionRef( h2Version )
|
|
|
|
library( "h2gis", "org.orbisgis", "h2gis" ).versionRef( h2gisVersion )
|
|
|
|
library( "hsqldb", "org.hsqldb", "hsqldb" ).versionRef( hsqldbVersion )
|
|
|
|
library( "derby", "org.apache.derby", "derby" ).versionRef( derbyVersion )
|
|
|
|
library( "postgresql", "org.postgresql", "postgresql" ).versionRef( pgsqlVersion )
|
|
|
|
library( "cockroachdb", "org.postgresql", "postgresql" ).versionRef( pgsqlVersion )
|
|
|
|
library( "mysql", "com.mysql", "mysql-connector-j" ).versionRef( mysqlVersion )
|
|
|
|
library( "tidb", "com.mysql", "mysql-connector-j" ).versionRef( tidbVersion )
|
|
|
|
library( "mariadb", "org.mariadb.jdbc", "mariadb-java-client" ).versionRef( mariadbVersion )
|
|
|
|
library( "oracle", "com.oracle.database.jdbc", "ojdbc11" ).versionRef( oracleVersion )
|
|
|
|
library( "oracleXml", "com.oracle.database.xml", "xdb" ).versionRef( oracleVersion )
|
|
|
|
library( "oracleXmlParser", "com.oracle.database.xml", "xmlparserv2" ).versionRef( oracleVersion )
|
2023-10-02 09:19:12 -04:00
|
|
|
library( "oracleLegacy", "com.oracle.database.jdbc", "ojdbc6" ).versionRef( oracleLegacyVersion )
|
|
|
|
library( "oracleLegacyXml", "com.oracle.database.xml", "xdb6" ).versionRef( oracleLegacyVersion )
|
|
|
|
library( "oracleLegacyXmlParser", "com.oracle.database.xml", "xmlparserv2" ).versionRef( oracleLegacyVersion )
|
2023-08-08 19:11:13 -04:00
|
|
|
library( "mssql", "com.microsoft.sqlserver", "mssql-jdbc" ).versionRef( mssqlVersion )
|
|
|
|
library( "db2", "com.ibm.db2", "jcc" ).versionRef( db2Version )
|
|
|
|
library( "hana", "com.sap.cloud.db.jdbc", "ngdbc" ).versionRef( hanaVersion )
|
|
|
|
library( "sybase", "net.sourceforge.jtds", "jtds" ).versionRef( sybaseVersion )
|
|
|
|
library( "informix", "com.ibm.informix", "jdbc" ).versionRef( informixVersion )
|
|
|
|
library( "firebird", "org.firebirdsql.jdbc", "jaybird" ).versionRef( firebirdVersion )
|
2022-04-22 19:40:06 -04:00
|
|
|
}
|
|
|
|
mavenLibs {
|
2023-08-08 19:11:13 -04:00
|
|
|
def mavenCoreVersion = version "mavenCore", "3.8.1"
|
|
|
|
def mavenVersion = version "maven", "3.0.5"
|
|
|
|
def mavenPluginToolsVersion = version "mavenPluginTools", "3.2"
|
|
|
|
|
|
|
|
library( "mavenCore", "org.apache.maven", "maven-core" ).versionRef( mavenCoreVersion )
|
|
|
|
library( "mavenArtifact", "org.apache.maven", "maven-artifact" ).versionRef( mavenVersion )
|
|
|
|
library( "mavenPlugin", "org.apache.maven", "maven-plugin-api" ).versionRef( mavenVersion )
|
|
|
|
library( "mavenPluginTools", "org.apache.maven.plugin-tools", "maven-plugin-annotations" ).versionRef( mavenPluginToolsVersion )
|
2022-04-22 19:40:06 -04:00
|
|
|
}
|
|
|
|
}
|
2022-03-15 10:39:07 -04:00
|
|
|
}
|
2021-05-25 17:11:31 -04:00
|
|
|
|
2023-07-31 11:34:57 -04:00
|
|
|
String overrideableVersion(String settingName, String defaultVersion) {
|
|
|
|
String overridden = settings.ext.find( settingName )
|
|
|
|
if ( overridden != null ) {
|
|
|
|
return overridden
|
|
|
|
}
|
|
|
|
return defaultVersion
|
|
|
|
}
|
|
|
|
|
2022-03-15 10:39:07 -04:00
|
|
|
rootProject.name = 'hibernate-orm'
|
2021-06-26 09:46:09 -04:00
|
|
|
|
2021-05-24 13:25:53 -04:00
|
|
|
apply from: file( 'gradle/gradle-enterprise.gradle' )
|
|
|
|
|
2021-11-26 11:24:34 -05:00
|
|
|
if ( !JavaVersion.current().java11Compatible ) {
|
|
|
|
throw new GradleException( "Gradle must be run with Java 11 or later" )
|
2019-10-23 02:45:47 -04:00
|
|
|
}
|
|
|
|
|
2021-07-26 14:51:22 -04:00
|
|
|
buildCache {
|
2021-11-30 08:17:47 -05:00
|
|
|
local {
|
|
|
|
// do not use local build cache for CI jobs, period!
|
2022-02-01 10:40:31 -05:00
|
|
|
enabled = !settings.ext.isCiEnvironment
|
2021-11-30 08:17:47 -05:00
|
|
|
}
|
|
|
|
remote(HttpBuildCache) {
|
|
|
|
enabled = true
|
2022-02-01 10:40:31 -05:00
|
|
|
push = settings.ext.populateRemoteBuildCache
|
2021-11-30 08:17:47 -05:00
|
|
|
url = 'https://ge.hibernate.org/cache/'
|
|
|
|
}
|
2021-07-26 14:51:22 -04:00
|
|
|
}
|
|
|
|
|
2010-10-08 21:20:10 -04:00
|
|
|
include 'hibernate-core'
|
2013-11-26 18:48:25 -05:00
|
|
|
include 'hibernate-testing'
|
2021-04-22 12:15:45 -04:00
|
|
|
|
2010-10-09 14:24:27 -04:00
|
|
|
include 'hibernate-envers'
|
2021-09-22 18:52:06 -04:00
|
|
|
include 'hibernate-spatial'
|
2016-06-23 03:34:34 -04:00
|
|
|
|
2022-04-22 19:40:06 -04:00
|
|
|
include 'hibernate-platform'
|
|
|
|
|
2021-04-13 12:13:30 -04:00
|
|
|
include 'hibernate-community-dialects'
|
2010-10-08 21:20:10 -04:00
|
|
|
|
2010-10-09 14:27:47 -04:00
|
|
|
include 'hibernate-c3p0'
|
2010-10-09 14:31:54 -04:00
|
|
|
include 'hibernate-proxool'
|
2014-03-17 16:33:44 -04:00
|
|
|
include 'hibernate-hikaricp'
|
2018-01-13 07:48:46 -05:00
|
|
|
include 'hibernate-vibur'
|
2017-09-05 19:49:17 -04:00
|
|
|
include 'hibernate-agroal'
|
2010-10-09 14:27:47 -04:00
|
|
|
|
2021-11-16 11:15:58 -05:00
|
|
|
include 'hibernate-jcache'
|
2021-05-13 14:11:38 -04:00
|
|
|
|
2020-11-17 17:39:43 -05:00
|
|
|
include 'hibernate-micrometer'
|
2020-02-13 06:41:04 -05:00
|
|
|
include 'hibernate-graalvm'
|
2021-11-26 11:24:34 -05:00
|
|
|
include 'hibernate-integrationtest-java-modules'
|
2019-05-24 03:26:01 -04:00
|
|
|
|
2013-11-13 19:23:48 -05:00
|
|
|
include 'documentation'
|
|
|
|
include 'release'
|
|
|
|
|
2013-10-25 15:27:45 -04:00
|
|
|
include 'metamodel-generator'
|
|
|
|
project(':metamodel-generator').projectDir = new File(rootProject.projectDir, "tooling/metamodel-generator")
|
2015-03-23 15:36:41 -04:00
|
|
|
project(':metamodel-generator').name = 'hibernate-jpamodelgen'
|
2013-10-25 15:27:45 -04:00
|
|
|
|
2022-03-15 21:10:17 -04:00
|
|
|
include 'hibernate-gradle-plugin'
|
|
|
|
project(':hibernate-gradle-plugin').projectDir = new File(rootProject.projectDir, "tooling/hibernate-gradle-plugin")
|
2020-10-15 18:20:30 -04:00
|
|
|
|
2015-03-25 21:41:23 -04:00
|
|
|
include 'hibernate-enhance-maven-plugin'
|
|
|
|
project(':hibernate-enhance-maven-plugin').projectDir = new File(rootProject.projectDir, "tooling/hibernate-enhance-maven-plugin")
|
2010-10-12 16:39:33 -04:00
|
|
|
|
2021-09-27 15:07:01 -04:00
|
|
|
include 'hibernate-ant'
|
|
|
|
project(':hibernate-ant').projectDir = new File(rootProject.projectDir, "tooling/hibernate-ant")
|
|
|
|
|
2021-06-22 10:53:21 -04:00
|
|
|
|
2010-10-08 21:20:10 -04:00
|
|
|
rootProject.children.each { project ->
|
|
|
|
project.buildFileName = "${project.name}.gradle"
|
|
|
|
assert project.projectDir.isDirectory()
|
2013-11-13 19:23:48 -05:00
|
|
|
assert project.buildFile.exists()
|
2010-10-08 21:20:10 -04:00
|
|
|
assert project.buildFile.isFile()
|
2021-05-24 12:49:11 -04:00
|
|
|
}
|
2022-04-22 19:40:06 -04:00
|
|
|
include 'hibernate-platform'
|
2021-09-27 15:07:01 -04:00
|
|
|
|