2021-06-22 10:53:21 -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>.
|
|
|
|
*/
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'java-gradle-plugin'
|
|
|
|
|
|
|
|
group = 'org.hibernate.build'
|
|
|
|
version = '1.0.0-SNAPSHOT'
|
|
|
|
buildDir = "target"
|
|
|
|
|
|
|
|
dependencies {
|
2021-06-26 09:46:09 -04:00
|
|
|
implementation gradleApi()
|
2022-01-22 08:12:57 -05:00
|
|
|
implementation 'org.jboss:jandex:2.4.2.Final'
|
2021-06-22 10:53:21 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
tasks.compileJava {
|
|
|
|
options.encoding = 'UTF-8'
|
2021-11-26 11:24:34 -05:00
|
|
|
sourceCompatibility = 11
|
|
|
|
targetCompatibility = 11
|
2021-06-22 10:53:21 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
gradlePlugin {
|
|
|
|
plugins {
|
2021-06-26 09:46:09 -04:00
|
|
|
databaseServicePlugin {
|
|
|
|
id = 'org.hibernate.orm.database-service'
|
|
|
|
implementationClass = 'org.hibernate.orm.db.DatabaseServicePlugin'
|
2021-06-22 10:53:21 -04:00
|
|
|
}
|
2021-06-28 16:59:35 -04:00
|
|
|
antlrPlugin {
|
|
|
|
id = 'org.hibernate.orm.antlr'
|
2021-08-20 19:27:46 -04:00
|
|
|
implementationClass = 'org.hibernate.orm.antlr.AntlrPlugin'
|
2021-06-28 16:59:35 -04:00
|
|
|
}
|
2021-07-01 22:15:55 -04:00
|
|
|
jakartaPlugin {
|
|
|
|
id = 'org.hibernate.orm.jakarta'
|
|
|
|
implementationClass = 'org.hibernate.orm.jakarta.JakartaPlugin'
|
|
|
|
}
|
|
|
|
jakartaPublishPlugin {
|
|
|
|
id = 'org.hibernate.orm.jakarta-publish'
|
|
|
|
implementationClass = 'org.hibernate.orm.jakarta.JakartaPublishingPlugin'
|
|
|
|
}
|
2022-03-09 13:28:13 -05:00
|
|
|
reportsPlugin {
|
|
|
|
id = 'org.hibernate.orm.build.reports'
|
|
|
|
implementationClass = 'org.hibernate.orm.post.ReportGenerationPlugin'
|
2022-01-22 08:12:57 -05:00
|
|
|
}
|
2021-06-22 10:53:21 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|