Greetings. I am working on a plugin. And for the t...
# community-support
j
Greetings. I am working on a plugin. And for the time being I'm just doing it in buildSrc of the main application, until I get it all worked out. But I have a situation where I need some code that is used both by the plugin, but also by an application. I thought, wouldn't it be neat to use includedBuilds for this? Make that project then dependency from both buildSrc as well as the root project. It almost works. It builds. The buildSrc project can actually access the classes. However the main project cannot. This supposed to work?
v
Not sure whether this is another quirk of
buildSrc
, but at least when replacing
buildSrc
with an included build (which I prefer anyway) it should work. But actually if there were any problem, I'd expect it to be in
buildSrc
, not the main project. You said it compiles, but then does not find the class, which sounds strange. Can you share an MCVE?
j
I actually got it to work. I'm not sure exactly what I did though.
👌 1