Aha, I see. This seems really weird. Would be interesting to figure out where the output goes, but I hear you've already given it a fair try.
I understand that the multi-project approach here would be overkill for you, so use whatever makes sense for your use case. Best regards, Per ________________________________ From: jooq-user@googlegroups.com <jooq-user@googlegroups.com> on behalf of Kevin Jones <ke...@knowledgespike.com> Sent: Saturday, August 5, 2023 10:37 To: jooq-user@googlegroups.com <jooq-user@googlegroups.com> Subject: Re: Code Generation Directory If I don't set the base directory when I create the task the generation seems to fail silently. The task runs OK but there's no output (I do a full search of the disk on my Mac and there's nothing). The generation takes the same time as when output is produced so it's doing something. If I leave out the $buildDir from the source set definition that doesn't change anything. I can also create a new sourceSet, rather than add to the 'main' source set: sourceSets.create("generated") { java.srcDir("$buildDir/generated/java") } but again if I leave out the $buildDir then it doesn't change anything. If I call setBuildDir("") in the generate task then the task blows up when I run it (I was wondering if it would use some sort of default), It's a small application so I think splitting it out into a separate Gradle project would be overkill at the moment but it's definitely something I'll keep in mind for the future. Thanks again for your time on this, Kevin -- You received this message because you are subscribed to the Google Groups "jOOQ User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to jooq-user+unsubscr...@googlegroups.com<mailto:jooq-user+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/jooq-user/CAKT%3DYsOc6e_Y%3D2ikkU-nfJR-rWrqjY85pyz9atTHwZFGpnuLyw%40mail.gmail.com<https://groups.google.com/d/msgid/jooq-user/CAKT%3DYsOc6e_Y%3D2ikkU-nfJR-rWrqjY85pyz9atTHwZFGpnuLyw%40mail.gmail.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "jOOQ User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to jooq-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jooq-user/VI1PR0801MB187117CBD182FAAEA4904A85EA0CA%40VI1PR0801MB1871.eurprd08.prod.outlook.com.