Commit Graph

101 Commits

Author SHA1 Message Date
Steve Ebersole 172ddf8700 Improved build configuration to better leverage Gradle up-to-date handling;
Preparation for moving to Gradle 7.0

- Improve Jakarta transformation handling (tests are also actually run now as a bonus);
- Improved CacheableHbmXmlTest to not write "ser" file to `${buildDir}/resources/test`
- Improved DatabaseService(Plugin)
- Update a number of plugins which did not handle up-to-date-ness properly
2021-06-26 08:46:09 -05:00
Markus Heiden 26038d1b00 HHH-14657 Use the compile instead of runtime classpath
The runtime classpath contains the dependencies as jars that are not yet built when the plugin needs them. So use the compile classpath plus the compiled classes of the current project.
2021-06-14 16:30:32 +01:00
Markus Heiden 423b13b50a HHH-14657 Use the compile instead of runtime classpath
The runtime classpath contains the dependencies as jars that are not yet built when the plugin needs them. So use the compile classpath plus the compiled classes of the current project.
2021-06-14 16:30:32 +01:00
Steve Ebersole b2bdcf9778 HHH-14634 : Gradle Enterprise
- Allow for passing `hibernatePublishUsername`, `hibernatePublishPassword`, ``hibernatePluginPortalUsername` and hibernatePluginPortalPassword` as system-properties (-D) as well as property-properties (-P).  Jenkins needs to specify them as system-properties
2021-05-24 15:44:21 -05:00
Steve Ebersole 80801d27bb Improved Gradle Plugin Portal auth handling 2021-05-24 11:49:58 -05:00
Steve Ebersole b51fb9fe03 Fixed problems with
- javadoc generation
- SourceForge distribution bundles
2021-05-19 16:15:57 -05:00
Steve Ebersole 5ae9e9fb7e prepare for 6.0.0.Alpha8 2021-05-18 14:58:16 -05:00
Steve Ebersole 8518c04862 prepare for 6.0.0.Alpha8 2021-05-18 14:55:00 -05:00
Steve Ebersole db502bf1b0 prepare for 6.0.0.Alpha8 2021-05-18 12:37:36 -05:00
Steve Ebersole c349551fc3 fixed CI job task 2021-05-14 16:47:30 -05:00
Steve Ebersole c7e37dc1d7 HHH-14513 : Move publishing release and snapshot artifacts to Sonatype OSSRH 2021-05-14 15:06:15 -05:00
Andrea Boriero b27b414511 Fix EmbeddedForeignKeyDescriptor creation when o.h.mapping.Value has no columns, Re-enabled additional tests 2021-04-22 13:52:16 +02:00
Andrea Boriero c3df793dbe HHH-14509 : Git master -> main branch renaming 2021-03-22 12:38:00 +01:00
Christian Beikov 6643e9f4bc Use java.lang.reflect.Type instead of java.lang.Class for JavaTypeDescriptor#getJavaType to support parameterized types 2021-02-23 12:22:54 +01:00
Andrea Boriero 6d124a7c6d Merge remote-tracking branch 'upstream/master' into wip/6.0 2021-01-14 11:34:06 +01:00
Yoann Rodière 1acb6fea52 HHH-14371 Add --add-opens options required for Gradle plugin tests
Signed-off-by: Yoann Rodière <yoann@hibernate.org>
2020-12-14 14:02:18 +00:00
Christian Beikov d9446e7c77 Fix a few test issues, implement tuple emulation, group by support and support configuring criteria value handling mode 2020-12-08 11:27:27 +01:00
Andrea Boriero 1927d1aa33 Merge branch 'master' into wip/6.0 2020-11-17 12:40:43 +01:00
Yoann Rodière 9616e24c80 HHH-14315 Add optional support for toolchains to the Gradle build
Signed-off-by: Yoann Rodière <yoann@hibernate.org>
2020-11-10 11:02:08 +00:00
Steve Ebersole 29848c49db ORM + Gradle
HHH-14285 - project template
HHH-14286 - Gradle plugin
2020-10-28 16:09:42 -05:00
Yoann Rodière 12127b2272 HHH-14111 Ensure Groovy compilation tasks target the same JDK version as the rest of the project 2020-07-20 10:25:15 +02:00
Andrea Boriero b897a36f2f Fix issue with generated pom missing project description 2020-04-06 18:21:11 +01:00
Yoann Rodière 9bb76a5cca HHH-13925 Upgrade hibernate-gradle-plugin to Gradle 6 2020-04-06 16:04:55 +02:00
Yoann Rodière 6921b02891 HHH-13685 Upgrade to Gradle 5.6.3 2020-04-01 09:53:13 -05:00
Christoph Dreis 1364929fe0 HHH-13870 - Add explaining comment 2020-02-19 12:20:42 -06:00
Christoph Dreis 5ea5bd12b0 HHH-13870 - Extract task action in Gradle plugin to fix up-to-date checks
Lambdas are not allowed and cause the compile task to be always out of date
2020-02-19 12:20:42 -06:00
Steve Ebersole 57fba402b4 HHH-12858 - Persistence.createEntityManagerFactory(Map) should allow overwriting jta-data-source of persistence.xml 2019-09-25 15:12:25 -05:00
Steve Ebersole 4ff3c0b6e4 HHH-13130 - Provide Gradle-based bytecode enhancement as a task separate from the compileJava task 2019-09-25 12:28:28 -05:00
Steve Ebersole 5c9cf4d0d8 HHH-13130 - Provide Gradle-based bytecode enhancement as a task separate from the compileJava task 2019-09-18 12:05:39 -05:00
Henning Rohlfs aa441ddb12 HHH-13071 Use SourceSetOutput.getClassesDirs to prevent deprecation warnings during build when using the gradle plugin 2018-11-02 17:01:13 +01:00
Steve Ebersole 6e25c30812 HHH-12190 - General tidying of Gradle scripts 2018-01-16 14:34:43 -06:00
Steve Ebersole d806eff912 HHH-12190 - General tidying of Gradle scripts 2018-01-16 14:34:43 -06:00
Andrea Boriero ca368f85a6 HHH-11507 - Upgrade to Gradle 4.2 2017-09-21 15:07:29 +01:00
Rafael Winterhalter 159bc99a36 HHH-11321: fixes resolution of class names via build plugins 2016-12-14 08:55:01 +02:00
Rafael Winterhalter ba3359fe62 HHH-11152: Added BytecodeProvider based on Byte Buddy 2016-11-16 13:18:46 -06:00
barreiro cdc69a475b HHH-10801 - Bytecode enhancement of @MappedSuperclass 2016-06-30 00:29:29 +02:00
barreiro 1590ad145b HHH-10359 - Have consistent configuration of bytecode enhancement 2015-12-16 15:55:31 -06:00
barreiro 6828f5ee9b HHH-10354 - Rename 'field access' to 'extended enhancement' 2015-12-16 13:56:56 -06:00
barreiro 0ab716cca6 HHH-10146 - [gradle plugin] Create loading classloader after classes have been compiled 2015-11-06 12:17:41 -06:00
barreiro c2c69ca62c HHH-10077 - Fix SourceSet generation on gradle plugin 2015-09-03 08:50:04 -05:00
barreiro 6ac234eb01 HHH-9938 - field access parameter on gradle plugin 2015-07-29 09:26:26 -05:00
barreiro d50258f424 HHH-9902 - fix gradle plugin 2015-07-08 04:44:38 +01:00
Steve Ebersole 1812bb2ef3 HHH-9809 - Improve Hibernate Gradle plugin 2015-05-21 00:24:56 -05:00
Steve Ebersole bd256e4783 HHH-9803 - Checkstyle fix ups - headers 2015-05-18 23:25:14 -05:00
barreiro 165f037bad HHH-8489 - bytecode enhancement: bi-directional associtation management
Closes #933
2015-05-07 13:10:58 -05:00
Steve Ebersole 650267077d HHH-9717 - Build script improvements - applied new standalone XJC and AnimalSniffer plugins 2015-04-10 11:58:22 -05:00
Sanne Grinovero fd95ccb398 Include a new .gitignore file for tooling/hibernate-gradle-plugin as it's generated by Eclipse 2015-03-10 12:47:55 -04:00
Steve Ebersole 49ff975f7d HHH-8733 - General build cleanup 2013-12-02 22:11:00 -06:00
Steve Ebersole 055a750a53 HHH-8733 - General build cleanup 2013-12-02 20:57:57 -06:00
Steve Ebersole cd590470c0 HHH-8741 - More checkstyle cleanups 2013-11-24 09:44:55 -06:00
Steve Ebersole 9e58a6de69 HHH-8694 - Move hibernate-maven-plugin and hibernate-gradle-plugin under tooling sub directory 2013-11-13 18:23:48 -06:00