Suresh Maidaragi
05/27/2024, 4:25 AMid("com.google.devtools.ksp") version "2.0.0-1.0.21"
dependency used
de.jensklingenberg.ktorfit:ktorfit-ksp:2.0.0-rc01
Can someone help to know why are seeing mutation of attributes is not allowed in our mobile builds,
SS2 -> Android error log
SS3 -> iOS error logSuresh Maidaragi
05/27/2024, 4:42 AMksp.useKSP2=true
above error disappeared and started seeing new error
e: [ksp] java.lang.NullPointerException: null cannot be cast to non-null type org.jetbrains.kotlin.load.java.structure.impl.JavaClassImpl
> Task :pitaraShared:iosArm64ResolveResourcesFromDependencies UP-TO-DATE
error: null cannot be cast to non-null type org.jetbrains.kotlin.load.java.structure.impl.JavaClassImpl
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':pitaraShared:kspKotlinIosSimulatorArm64'.
> A failure occurred while executing com.google.devtools.ksp.gradle.KspAAWorkerAction
> null cannot be cast to non-null type org.jetbrains.kotlin.load.java.structure.impl.JavaClassImpl
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at <https://help.gradle.org>.
BUILD FAILED in 9s
23 actionable tasks: 3 executed, 20 up-to-date
Suresh Maidaragi
05/27/2024, 7:13 AMJiaxiang
05/28/2024, 5:58 PMSuresh Maidaragi
05/29/2024, 4:17 AMRohit
05/29/2024, 4:50 AMSuresh Maidaragi
05/29/2024, 5:22 AMuseKSP2=true
we are seeing mutation of attribution not allowed
.Suresh Maidaragi
06/03/2024, 11:04 AM