https://kotlinlang.org logo
#koin
Title
# koin
u

Ugurcan Yildirim

05/27/2022, 8:04 AM
hi guys, I just started using koin annotations. It's a great improvement, thank you. However I have a problem: I have multiple variants in my android lib module. so the code below tries to include all generated files and creates conflict when I switch to a different variant (causing multiple identical generated module classes)
Copy code
libraryVariants.all { variant ->
    variant.sourceSets.java.each {
        it.srcDirs += "build/generated/ksp/${variant.name}/kotlin"
    }
}