suresh
08/11/2025, 5:51 AMjoffrey
08/11/2025, 9:18 AMgildor
08/11/2025, 10:13 AMgildor
08/11/2025, 10:14 AMjoffrey
08/11/2025, 10:15 AMjoffrey
08/11/2025, 10:20 AMsettings:
kotlin:
compilerPlugins:
- id: dev.zacsweers.metro.compiler
dependency: dev.zacsweers.metro:metro-compiler-plugin:0.5.5
options:
someKey: someValue
(similar to KSP support)
But this needs special handling if we want the IDE to understand the plugin. At the moment, the Kotlin IDE plugin provides support for a select number of plugins, and we would need to figure out a way for 3rd party IDE plugins to register the support for some Kotlin compiler plugins. At the moment there is no generic way to do this that is build-system-agnostic.joffrey
08/11/2025, 10:22 AMZac Sweers
08/11/2025, 3:41 PMsuresh
08/12/2025, 5:45 AMadd support for arbitrary compiler plugins in Amper (with maven coordinates) if the need comes upWithout that, we can’t use any third-party compiler plugins on Amper. I’m already using three (redacted, kopy, mokkery), so IMHO, this should be a supported feature out of the box.
Do these examples require IDE support?Yes, kopy also need to configure some internal registry option - https://github.com/JavierSegoviaCordoba/kopy?tab=readme-ov-file#allow-third-party-k2-plugins