53 lines
1.3 KiB
Groovy
53 lines
1.3 KiB
Groovy
/*
|
|
* 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 {
|
|
implementation gradleApi()
|
|
implementation 'org.jboss:jandex:2.4.2.Final'
|
|
}
|
|
|
|
tasks.compileJava {
|
|
options.encoding = 'UTF-8'
|
|
sourceCompatibility = 11
|
|
targetCompatibility = 11
|
|
}
|
|
|
|
gradlePlugin {
|
|
plugins {
|
|
databaseServicePlugin {
|
|
id = 'org.hibernate.orm.database-service'
|
|
implementationClass = 'org.hibernate.orm.db.DatabaseServicePlugin'
|
|
}
|
|
antlrPlugin {
|
|
id = 'org.hibernate.orm.antlr'
|
|
implementationClass = 'org.hibernate.orm.antlr.AntlrPlugin'
|
|
}
|
|
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'
|
|
}
|
|
reportsPlugin {
|
|
id = 'org.hibernate.orm.build.reports'
|
|
implementationClass = 'org.hibernate.orm.post.ReportGenerationPlugin'
|
|
}
|
|
}
|
|
}
|
|
|