Slackbot
12/21/2022, 9:25 PMJustin Tullgren
12/21/2022, 9:27 PMtony
12/21/2022, 9:33 PMJustin Tullgren
12/21/2022, 9:35 PMJustin Tullgren
12/21/2022, 9:35 PMJustin Tullgren
12/21/2022, 9:35 PMplugins {
id 'dependee' version '1.0'
id 'dependent' version '1.0'
}Justin Tullgren
12/21/2022, 9:36 PMJustin Tullgren
12/21/2022, 9:36 PMplugins {
id 'dependent' version '1.0'
}Vampire
12/21/2022, 11:11 PMJustin Tullgren
12/21/2022, 11:14 PMplugins.hasPlugin(KlassA::class.java)
fails even when the plugin has been put in the plugins block firstJustin Tullgren
12/21/2022, 11:15 PMClass.forName but even my real issue is that plugins block doesn't bring the plugin classes onto the path during the configuration phaseVampire
12/21/2022, 11:17 PMplugins (or rather getPlugins), you will learn that you shouldn't use it, but pluginManager instead. 🙂Justin Tullgren
12/21/2022, 11:17 PMVampire
12/21/2022, 11:17 PMpluginManager.withPlugin to react to the other plugin getting applied even if after your plugin instead of checking with hasPluginVampire
12/21/2022, 11:18 PMVampire
12/21/2022, 11:18 PMVampire
12/21/2022, 11:18 PMJustin Tullgren
12/21/2022, 11:19 PMapply method i'll try to use pluginManager.withPlugin and see what happensJustin Tullgren
12/21/2022, 11:19 PMJustin Tullgren
12/21/2022, 11:19 PMVampire
12/21/2022, 11:20 PM