-
-
Notifications
You must be signed in to change notification settings - Fork 68
Open
Description
Describe the bug
The latest version forced to included any dagger annotation without any ways to prevent it. All of existing injected Java class which didn't have any default constructor effected by koin module generated process on ksp build stage.
To Reproduce
Steps to reproduce the behavior:
- Implement latest koin annotation version on combined java-kotlin android project
- Had the dagger 1 or hilt for java-kotlin classes injection.
- Build the project
- See error due to generated hava class didnt have any default constructor, but the injection only on constructor with params. Example:
Class A { @inject public A(SomeClass param) { ...} }
Expected behavior
Koin had the ability to whether disable the JSR330 compatibility or specify only kotlin classes
Koin project used and used version (please complete the following information):
Koin annotation 2.3.1
Metadata
Metadata
Assignees
Labels
No labels