ritesh singh
03/06/2025, 12:33 AMritesh singh
03/06/2025, 12:35 AMVampire
03/06/2025, 1:21 AMritesh singh
03/06/2025, 1:22 AMYou mean applying the plugin you build in a build to the build that builds the plugin?Yea
ritesh singh
03/06/2025, 1:23 AMritesh singh
03/06/2025, 1:43 AMVampire
03/06/2025, 1:45 AMThis works, if you are pushing it to the artifactory and the to be consumed as a binary pluginYes. If not, you do not have much chances, not in a clean way. Depending on what it is you need, you could for example move the part you need in both builds to yet another included build that you then include from both builds.
Vampire
03/06/2025, 1:46 AMUnrelated question, if you apply a different settings plugin in settings.gradle.kts, which project does it gets applied to, the root project only?I don't get the question. Why should a setting plugin ever be applied to a project? That would just blow up, as it is a settings plugin, not a project plugin. A plugin is applied where you apply it.
ritesh singh
03/06/2025, 1:47 AMritesh singh
03/06/2025, 3:19 AMapply<MyCustomPlugin::class.java>
once it's in the class-path where i want it.
For the build which consumes the included build, apply it by ID.Vampire
03/06/2025, 3:21 AMritesh singh
03/06/2025, 6:30 PMritesh singh
03/06/2025, 6:33 PMVampire
03/06/2025, 7:56 PM