Deep Patel
06/12/2024, 3:36 PMdependencies {
add("kspAndroid", libs.androidx.room.compiler)
add("kspIosSimulatorArm64", libs.androidx.room.compiler)
add("kspIosX64", libs.androidx.room.compiler)
add("kspIosArm64", libs.androidx.room.compiler)
}
I’ve also seen
dependencies {
add("kspCommonMainMetadata", libs.androidx.room.compiler)
}
Which is the more correct way to apply a plugin using ksp? I’ve seen the first approach on the Fruitties app’s build.gradle.kts file, is this the preferred method? I’m wondering because if I use the second approach, the project still builds, compiles and on top of that I don’t have issues with the instantiateImpl
being unresolved in my iosMain
directory.
Any guidance/opinions would be appreciated here, thanks!chrisjenx
06/20/2024, 2:59 PM