hibernate-orm/tooling/hibernate-gradle-plugin
Andrea Boriero cdeb95a4d5 Merge remote-tracking branch 'upstream/main' into wip/6.0 2021-08-30 14:07:19 +02:00
..
src HHH-14657 Use the compile instead of runtime classpath 2021-06-14 16:30:32 +01:00
.gitignore Include a new .gitignore file for tooling/hibernate-gradle-plugin as it's generated by Eclipse 2015-03-10 12:47:55 -04:00
README.adoc ORM + Gradle 2020-10-28 16:09:42 -05:00
hibernate-gradle-plugin.gradle Merge remote-tracking branch 'upstream/main' into wip/6.0 2021-08-30 14:07:19 +02:00

README.adoc

= Hibernate ORM Gradle Plugin

A Gradle plugin for introducing Hibernate tasks and capabilities into a build.


== Set up

```
plugins {
  id 'org.hibernate.orm' version='X'
}

// HibernateOrmSpec
hibernate {
  ...
}
```

== Bytecode Enhancement

The plugin can perform build-time enhancement of the domain classes.  This is controlled
by the `enhancement` portion of the `hibernate` extension:

```
hibernate {
  // EnhancementSpec
  enhancement {
    // available options - all default to false
    lazyInitialization( true )
  }
}
```

== DSL

The `hibernate` DSL extension is the main entry into configuring the plugin

```
hibernate {
}
```

At this time, there is no configuration at this level.

== Capa

== Tasks

== Additional Resources

* https://plugins.gradle.org/plugin/org.hibernate.orm