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>.
|
|
|
|
*/
|
2024-11-08 18:23:47 -05:00
|
|
|
plugins {
|
|
|
|
id "java-gradle-plugin"
|
|
|
|
id "groovy"
|
|
|
|
}
|
|
|
|
|
2021-06-22 10:53:21 -04:00
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
group = 'org.hibernate.build'
|
|
|
|
version = '1.0.0-SNAPSHOT'
|
|
|
|
buildDir = "target"
|
|
|
|
|
|
|
|
dependencies {
|
2021-06-26 09:46:09 -04:00
|
|
|
implementation gradleApi()
|
2024-11-08 18:23:47 -05:00
|
|
|
|
|
|
|
implementation "jakarta.inject:jakarta.inject-api:2.0.0"
|
|
|
|
|
2023-07-17 11:50:11 -04:00
|
|
|
implementation 'io.smallrye:jandex:3.1.2'
|
2022-04-07 09:48:17 -04:00
|
|
|
implementation 'org.apache.httpcomponents:httpclient:4.5.13'
|
|
|
|
implementation 'jakarta.json.bind:jakarta.json.bind-api:2.0.0'
|
|
|
|
implementation 'jakarta.json:jakarta.json-api:2.0.1'
|
|
|
|
implementation 'org.eclipse:yasson:2.0.4'
|
2023-01-23 13:54:31 -05:00
|
|
|
implementation 'org.jsoup:jsoup:1.15.3'
|
2024-10-17 10:22:37 -04:00
|
|
|
|
|
|
|
implementation "org.apache.maven:maven-embedder:3.9.9"
|
|
|
|
implementation "org.apache.maven:maven-compat:3.9.9"
|
|
|
|
implementation "org.apache.maven.resolver:maven-resolver-connector-basic:1.9.18"
|
|
|
|
implementation "org.apache.maven.resolver:maven-resolver-transport-http:1.9.18"
|
2024-10-28 08:24:49 -04:00
|
|
|
implementation "org.slf4j:slf4j-simple:1.7.36"
|
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
|
|
|
}
|
2022-04-07 09:48:17 -04:00
|
|
|
docPubPlugin {
|
|
|
|
id = 'org.hibernate.orm.build.doc-pub'
|
|
|
|
implementationClass = 'org.hibernate.orm.docs.DocumentationPublishingPlugin'
|
|
|
|
}
|
2022-04-22 19:40:06 -04:00
|
|
|
envSettings {
|
|
|
|
id = 'org.hibernate.orm.build.env-settings'
|
|
|
|
implementationClass = 'org.hibernate.orm.env.EnvironmentSettingsPlugin'
|
|
|
|
}
|
2024-03-21 14:00:37 -04:00
|
|
|
jdkVersionSettings {
|
|
|
|
id = 'org.hibernate.orm.build.jdks-settings'
|
|
|
|
implementationClass = 'org.hibernate.orm.toolchains.JdkVersionSettingsPlugin'
|
|
|
|
}
|
2022-04-22 19:40:06 -04:00
|
|
|
envProject {
|
|
|
|
id = 'org.hibernate.orm.build.env-project'
|
|
|
|
implementationClass = 'org.hibernate.orm.env.EnvironmentProjectPlugin'
|
|
|
|
}
|
2023-08-10 10:20:24 -04:00
|
|
|
settingsDocumentationPlugin {
|
|
|
|
id = 'org.hibernate.orm.build.settings-doc'
|
|
|
|
implementationClass = 'org.hibernate.orm.properties.SettingsDocumentationPlugin'
|
2023-01-23 13:54:31 -05:00
|
|
|
}
|
2023-08-07 21:05:47 -04:00
|
|
|
jdkVersionsPlugin {
|
|
|
|
id = 'org.hibernate.orm.build.jdks'
|
|
|
|
implementationClass = 'org.hibernate.orm.toolchains.JdkVersionPlugin'
|
|
|
|
}
|
|
|
|
javaModulePlugin {
|
|
|
|
id = 'org.hibernate.orm.build.java-module'
|
|
|
|
implementationClass = 'org.hibernate.orm.toolchains.JavaModulePlugin'
|
|
|
|
}
|
2024-10-17 10:22:37 -04:00
|
|
|
register( "mavenEmbedder" ) {
|
|
|
|
id = "org.hibernate.build.maven-embedder"
|
|
|
|
implementationClass = "org.hibernate.build.maven.embedder.MavenEmbedderPlugin"
|
|
|
|
}
|
2024-11-08 18:23:47 -05:00
|
|
|
register( "xjc-plugin" ) {
|
|
|
|
id = "local-xjc-plugin"
|
|
|
|
implementationClass = "org.hibernate.build.xjc.XjcPlugin"
|
|
|
|
}
|
2021-06-22 10:53:21 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|