Commit Graph

23 Commits

Author SHA1 Message Date
Lukas Eder
0fdd1e1f6f [jOOQ/jOOQ#15944] jOOQ-codegen-gradle should resolve relative
directories with respect to the gradle project, not the running process
2023-12-18 10:53:30 +01:00
Lukas Eder
070d47a161 Release 3.20.0-SNAPSHOT 2023-12-15 17:16:27 +01:00
Lukas Eder
05f24d79e3 Release 3.19.1-SNAPSHOT 2023-12-15 17:08:05 +01:00
Lukas Eder
04dbbf4639 Release 3.19.0 2023-12-15 14:05:22 +01:00
Lukas Eder
139e1afe84 [jOOQ/jOOQ#12985] Replace Closure<?> usage by ObjectFactory usage
As recommended here:
https://github.com/jOOQ/jOOQ/issues/12985#issuecomment-1853325931 if we
pass around an ObjectFactory instance from Gradle, then all the meta
data can be made available to Gradle / IntelliJ for both kotlin and
groovy builds.
2023-12-13 11:23:24 +01:00
Lukas Eder
50290b4c69 [jOOQ/jOOQ#12985] Remove the jooq-meta-kotlin dependency again 2023-12-08 16:32:25 +01:00
Lukas Eder
d40390cf69 [jOOQ/jOOQ#12985] Remove the jooq-meta-kotlin dependency again
It's no longer needed, now that the jOOQ-meta extensions classes provide methods accepting Action
2023-12-08 15:32:18 +01:00
Lukas Eder
f2a4c7667c [jOOQ/jOOQ#12985] Add comment explaining rationale for explicit Closure
We still need explicit groovy Closure support in our DSL API for gradle because of an interesting decision in ClosureBackedAction to prefer Closure.OWNER_ONLY over Closure.DELEGATE_FIRST. Apparenty, OWNER_ONLY is faster, but DELEGATE_FIRST is really what we want, irrespective of speed
2023-12-07 12:05:57 +01:00
Lukas Eder
1c908c0294 [jOOQ/jOOQ#12985] Add org.gradle.api.Action support 2023-12-07 12:01:53 +01:00
Lukas Eder
d2e991454c [jOOQ/jOOQ#12985] Add @DelegatesTo annotation to all closures 2023-12-06 17:10:26 +01:00
Lukas Eder
5aa6185d92 [jOOQ/jOOQ#12985] Clone the closures for good measure 2023-12-06 11:15:57 +01:00
Lukas Eder
5befaf6576 [jOOQ/jOOQ#12985] Support a Groovy DSL in jOOQ-codegen-gradle 2023-12-05 16:37:21 +01:00
Lukas Eder
9fec09343a [jOOQ/jOOQ#12985] Removed requirement for redundant configuration() 2023-12-01 15:14:47 +01:00
Lukas Eder
6254658998 [jOOQ/jOOQ#12985] [jOOQ/jOOQ#15400] Use new kotlin DSL 2023-07-13 16:44:01 +02:00
Lukas Eder
ce4ff6e8a5 [jOOQ/jOOQ#12985] Create an official jooq-codegen-gradle plugin (WIP) 2023-07-13 14:30:49 +02:00
Lukas Eder
da06c1a3bd Moved example projects to /jOOQ-examples 2013-11-22 16:22:24 +01:00
Lukas Eder
6202fdfdc8 Release 3.3.0-SNAPSHOT 2013-11-01 10:12:17 +01:00
Lukas Eder
3d7a440df0 Set all Eclipse settings to use Unix-style line separators 2013-10-10 09:53:11 +02:00
Lukas Eder
5080114610 Merge branch 'master' of git@github.com:jOOQ/jOOQ.git
Conflicts:
	jOOQ-codegen/src/main/java/org/jooq/util/JavaGenerator.java
2013-10-07 10:45:00 +02:00
Lukas Eder
2e331e6215 Added .gitignore 2013-08-27 12:27:20 +02:00
Lukas Eder
4bee316f0c Reordered pom.xml 2013-08-27 11:34:52 +02:00
Lukas Eder
81a282e5cf Added Eclipse settings to new Gradle module 2013-08-27 11:34:20 +02:00
Ben Manes
9f160d5e86 Contribute Gradle plugin
Contributing the [Gradle plugin](https://github.com/ben-manes/gradle-jooq-plugin) required,
 - Updating to the package names
 - Adding to the Maven build. The Gradle plugin dependencies piggyback
   on Flyway's repository, as Gradle does not officially publish the
   dependencies for building plugins in another build tool.
 - Assigning copyright

This contribution is not tested due to a broader build failure in
`FlashbackTable`.

Note that this plugin took a simple and fast approach by leveraging
Groovy's XML markeup syntax. This provided a concise extension, at
the cost of flexibility to customize the plugin in multiple build
scripts (e.g. subproject adding data type converters). A richer
plugin should be created, but exceeded the scope of what was needed
at the time of development.
2013-08-26 03:05:05 -07:00