This message was deleted.
# community-support
s
This message was deleted.
1
v
Is it an option to not include the
example
build in the root project, but just execute Gradle in the
example
directory? If you for example do
./gradlew -p example help
it works, while
./gradlew :example:help
does not work. I'm not sure whether this is a bug or a limitation. Maybe it is worth to create an issue about it.
p
can I build a plugin and also use it in the same build?
v
Depends on how you mean exactly. You can have a composite build where you include a build that builds the plugin and apply it in the including build (like you already do I think?). But you can of course not build a plugin and apply it in the same build, because that's a hen-and-egg situation. You need the plugin to build the plugin, so how to build the plugin if you need the plugin to build the plugin.
p
no I don't need the plugin to build itself. I have a few "library projects", then I have a plugin that uses these library modules and I have a few projects that use the plugin. generators <- plugin <- examples
@Vampire thanks for rubber ducking! The solution was to merge the plugin build into the root build. after all I can build a plugin together with libraries in the same build, just not use it.
👌 1