Commit Graph

50 Commits

Author SHA1 Message Date
Lukas Eder
cd27f7e3fd [jOOQ/jOOQ#17474] Add support for synthetic synonyms 2024-10-22 16:10:51 +02:00
Lukas Eder
a70b920c2f [jOOQ/jOOQ#5394] Add a way to load POJOs into Records without setting all the changed flags to true 2024-09-12 17:55:09 +02:00
Lukas Eder
97f2b8be00 [jOOQ/jOOQ#15936] Implicit path correlation produces correlation
predicate in ON clause rather than WHERE clause in some cases
2024-08-20 15:32:41 +02:00
Lukas Eder
8693b2fa0d [jOOQ/jOOQ#16997] jOOQ-codegen-gradle plugin doesn't work with Gradle's configuration cache feature 2024-08-12 09:16:41 +02:00
Lukas Eder
5eba72d49b [jOOQ/jOOQ#16997] Avoid referencing project from task at runtime 2024-07-31 12:35:23 +02:00
Lukas Eder
3cade0204f [#16988] Correctly name Apache-2.0 everywhere 2024-07-29 13:00:52 +02:00
Lukas Eder
4f50ef2c55 [#16988] Correctly name Apache-2.0 everywhere 2024-07-29 12:53:09 +02:00
Lukas Eder
65b479a9a3 [jOOQ/jOOQ#16842] jOOQ-codegen-gradle 3.19.10 assumes presence of a
"main" source set, which isn't always the case
2024-06-24 09:14:02 +02:00
Lukas Eder
a8dda0b90d [jOOQ/jOOQ#12736] More spatial support
- ST_IsSimple
- ST_IsValid
2024-06-20 15:33:12 +02:00
Lukas Eder
523e40ce8f [jOOQ/jOOQ#16821] Don't delay jOOQ-codegen-gradle's configuration until
execution by default
2024-06-13 13:16:29 +02:00
Lukas Eder
63fc512194 [jOOQ/jOOQ#16318] No need to inject Project into a Task 2024-06-12 16:58:47 +02:00
Lukas Eder
119ebc9641 [jOOQ/jOOQ#16318] We shouldn't register source sets in task execution 2024-06-12 16:49:38 +02:00
Lukas Eder
12ac2d781b [jOOQ/jOOQ#16318] Allow for specifying inputs to the gradle CodegenTask
in order to participate in incremental builds
2024-06-12 11:38:57 +02:00
Lukas Eder
cb18d58ba7 [jOOQ/jOOQ#15251] Add support for synthetic DEFAULT expressions 2024-05-17 11:33:52 +02:00
Lukas Eder
6f5ca2a7a2 [jOOQ/jOOQ#16560] Cannot configure matchers using jOOQ-codegen-gradle plugin 2024-04-22 10:34:43 +02:00
Lukas Eder
7da530e6e2 [jOOQ/jOOQ#16188] Delay also task configuration 2024-03-01 14:23:50 +01:00
Lukas Eder
b55b0bcc40 [jOOQ/jOOQ#16188] jOOQ-codegen-gradle should lazily evaluate its configuration 2024-03-01 14:07:15 +01:00
Lukas Eder
118cce19f2 [jOOQ/jOOQ#16316] Revert [jOOQ/jOOQ#16275] 2024-02-21 11:13:59 +01:00
Lukas Eder
a0b37495f8 [jOOQ/jOOQ#16275] Remove unnecessary up-to-date prevention in jOOQ-codegen-gradle 2024-02-15 08:32:14 +01:00
Lukas Eder
f57f1e494d [jOOQ/jOOQ#16133] jOOQ-codegen-gradle doesn't consider basedir property for its OutputDirectory 2024-01-23 09:29:32 +01:00
Lukas Eder
0db655820f [jOOQ/jOOQ#16113] jOOQ-codegen-gradle fails with UnknownDomainObjectException when java plugin isn't applied first 2024-01-22 08:54:42 +01:00
Lukas Eder
4516607284 [jOOQ/jOOQ#16083] jOOQ-gradle-plugin multi execution configuration shouldn't require an explicit default configuration
This includes:

- [jOOQ/jOOQ#16084] Wrong order of MiniJAXB.append() calls in jOOQ-codegen-gradle
2024-01-16 10:41:57 +01:00
Lukas Eder
2a8016e644 [jOOQ/jOOQ#16075] Remove unnecessary runtimeClasspath dependency of the jOOQ-codegen-gradle plugin 2024-01-15 10:47:24 +01:00
Lukas Eder
303cfefa99 [jOOQ/jOOQ#15966] [jOOQ/jOOQ#15974] Copy default configuration
MiniJAXB doesn't deep clone the appended objects, so we end up using shared mutable state (see [jOOQ/jOOQ#16056]). This must be avoided, otherwise, each execution updates the common shared default configuration, which is certainly not what we want.
2024-01-11 09:35:34 +01:00
Lukas Eder
ab8b9dff1e [jOOQ/jOOQ#15966] [jOOQ/jOOQ#15974] Another iteration
Correct order of registering tasks and configuring them. We mustn't rely on any implicit ordering of the NamedDomainObjectContainer as that might be an implementation detail subject to change at any time.
2024-01-11 09:03:39 +01:00
Lukas Eder
9d8d793c97 [jOOQ/jOOQ#15966] [jOOQ/jOOQ#15974] Another iteration
- Remove jooqCodegenAll again (I managed!)
- Add tests for single-execution configurations
- Nest test projects into a single project
2024-01-10 17:00:24 +01:00
Lukas Eder
729acdf795 [jOOQ/jOOQ#15966] Remove mandatory dependency from compileJava to
jOOQ-codegen-gradle tasks

This includes:

- [jOOQ/jOOQ#15974] Cannot look up tasks.named(jooqCodegen) from
gradle scripts
- [jOOQ/jOOQ#16003] Misleading XSD warnings logged when working with
MiniJAXB
2024-01-05 15:16:49 +01:00
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