This message was deleted.
# community-support
s
This message was deleted.
v
Even if you could do it, you should not. Introducing order dependency between plugins is a very bad idea and should be avoided. If your plugin always needs the plugin you want to check for, then just apply it in your plugin code. If you instead want to react to the plugin being applied if it gets applied, use
project.pluginManager.withId
. And never use
project.plugins
under normal circumstances, see it's JacaDoc.
m
This code is in AGP v 7.2.2 no in my app
v
Well, baaad AGP then 🙂
Seems the KGP is not in the classpath then
m
Do you know how I can add it? ?
v
Why? Obviously it is not applied, or it would be on the classpath
It can hardly be applied without being present
m
Because we apply it from another plugin and if it is not in the classpath it crashes because it does not find the class not because the plugin is not there
v
Can you share an MCVE of the setup in question? Hard to tell from this abstract description.
m
I generate it and I pass it to you
👌 1