arrow-kt / arrow

Λrrow - Functional companion to Kotlin's Standard Library
http://arrow-kt.io
Other
6.13k stars 442 forks source link

Can't import KSP plugin using BoM #3446

Closed risalfajar closed 3 months ago

risalfajar commented 3 months ago

I need to specify the version manually for KSP plugin dependency:

dependencies {
    implementation(platform("io.arrow-kt:arrow-stack:1.2.4"))
    implementation("io.arrow-kt:arrow-core")
    implementation("io.arrow-kt:arrow-optics")
    ksp("io.arrow-kt:arrow-optics-ksp-plugin:1.2.4")
}

Or this will happen

Could not find io.arrow-kt:arrow-optics-ksp-plugin:.
Required by:
    project :app
serras commented 3 months ago

Unfortunately this is a known problem with KSP, it doesn't take BoM into account. I'm closing this because this is not really an issue in Arrow, but rather in KSP.