Skip to content

Koin Compiler Plugin & Annotations#53

Open
arnaudgiuliani wants to merge 5 commits into
Kotlin:mainfrom
arnaudgiuliani:koin_plugin_annotations
Open

Koin Compiler Plugin & Annotations#53
arnaudgiuliani wants to merge 5 commits into
Kotlin:mainfrom
arnaudgiuliani:koin_plugin_annotations

Conversation

@arnaudgiuliani
Copy link
Copy Markdown

@arnaudgiuliani arnaudgiuliani commented Jan 21, 2026

Hello,

Here is a proposal to use the new Koin Plugin for Annotations. The Koin Plugin Compiler helps us use few annotations around (@Singleton, @KoinViewModel...) to structure things. Also possibility to scan definitions into one or more modules, depending on whether you want a simpler Module config. Also demoing @Configuration and @KoinApplication to help discover configurations.

No KSP, just Kotlin Compiler. Simple setup.

Compile safety is not yet available, but Plugin logs are available already to understand how Annotations & Modules are gathered.

Happy to help follow up. If you want a "annotation" oriented example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant