Colton Idle
11/26/2025, 2:43 AMid("org.jetbrains.kotlin.plugin.parcelize") . I converted it to an entry in my toml, and converted it to alias(libs.plugins.kotlin.parcelize) in my build file. but now it wont build UNLESS I go to root build.gradle and add ``alias(libs.plugins.kotlin.parcelize) apply false` `
Why is that needed when using version catalog... but when I just used id("org.jetbrains.kotlin.plugin.parcelize") it did not need the extra line in my root build.gradle (bonus points: how did it even work with id if I never declared the version of the plugin I wanted until i now had to add it in version catalog declaration)Eli Graber
11/26/2025, 3:14 AMEli Graber
11/26/2025, 3:18 AMid) it uses that one.
Since you now specify the version, it doesn't use the bundled one, and I believe you have to load it on the classpath by specifying it in the root build file (without applying it).Eli Graber
11/26/2025, 3:18 AMColton Idle
11/26/2025, 3:26 AMDid you specify a version for it in the toml file?yep.
I believe that Parcelize plugin is bundled with KGP so when you don't specify the version (like your use withmakes sense.) it uses that one.id
Since you now specify the version, it doesn't use the bundled one, and I believe you have to load it on the classpath by specifying it in the root build file (without applying it).interesting. let me try to remove the version and see if i can remove the declaration from my root build file. i think overall id like to just keep all my plugins using the same pattern (declare version in toml and declare it in my root build), but i was just more curious on how/why it even worked before. ill report back shortly
Colton Idle
11/26/2025, 3:31 AMorg.jetbrains.kotlin.* plugin and not having to define it in the root.Colton Idle
11/26/2025, 4:04 AMephemient
11/26/2025, 4:59 AMColton Idle
11/26/2025, 5:03 AM