Kodein update allows to reproduce Kotlin/MPP (or K...
# kodein
t
Kodein update allows to reproduce Kotlin/MPP (or Kotlin/JS) bug. After update from
6.4.1
to
6.5.0
: 1. Kotlin see both versions. 2. Compilation broken - NPE on yarn dependency merge. Single known WA - remove Gradle caches.
r
Sorry about that 😕
to be able to reproduce the issue. 1- So, you had a project working with
6.4.1
and then migrating to
6.5.0
it fails on yarn ?
2- but if you clear Gradle caches it works fine ?
👌 1
3 - After that do you still issues if you rerun the build ?
🚫 1
t
Sorry about that 😕
Kodein isn't root cause in this case. It simply reveal problem of Kotlin/MPP or Kotlin/JS incremental build.
@romainbsl, @Ilya Goncharov [JB] Root cause: Before build I clean file caches -
.gradle\caches\modules-2\files-2.1\
But don't clean metadata caches -
.gradle\caches\modules-2\metadata-2.82\
Previous version was declared in metadata
r
So this might be a Gradle Metadata issue ? Could you create an issue where you describe all the steps that you are doing to reproduce the problem ? https://github.com/Kodein-Framework/Kodein-DI/issues