Hello, I am wondering what is the correct way to c...
# plugin-development
n
Hello, I am wondering what is the correct way to customise a precompiled script plugin. In a normal plugin you would use a plugin extension. It seems extensions don’t exist for precompiled script plugins. How else can I pass in information from a project
build.gradle.kts
file to the precompiled script plugin? Hello, I am wondering what the correct way to configure
j
they exists
n
Do you have an example?
t
n
Thanks. This looks like it should work, but I think I have a corner case. My precompiled plugin (
myJooq.gradle.kts
) is applying another plugin (
nu.studer.jooq
) which itself has an extension called
jooq
. I am trying customize the
jooq
extensions using my custom extension (
myJooq
) and it seems that when gradle looks for my extension it hasn’t yet evaluated the
build.gradle.kts
where I am configuring
myJooq
. Does that make sense?
ok. I figured out that I don’t need a plugin extension. I already have access to the
jooq
plugin extension in
build.gradle.kts
and I can just change it there!