Hey everyone :wave:, I was wondering if anyone has...
# multiplatform
s
Hey everyone 👋, I was wondering if anyone has attempted to leverage the new “Shared Indexes” functionality to share indexes of multiplatform dependencies. I notice that after adding JS (Browser/Node), and all native targets to my project that indexing exploded. It seems that if installed correctly “Shared Indexes” might be able to almost completely get rid of the indexing of all common libraries. References: https://blog.jetbrains.com/idea/2020/07/shared-indexes-plugin-unveiled/ https://docs.google.com/document/d/1Lvhyimh94Ni-VqKYMktknsB8Itv3pYkYRy0QUsUPn4o/edit
j
I worked with kmp libraries and I always enable shared indexes with no issues.
👌 1
what is the issue you have?
s
I’m not running into any issues yet, I was just wondering since I want to set it up tonight. My first MPP experience was refactoring Arrow to MPP, and now I’m running into the situation where indexing takes forever for the first time 😅
It seems not many people are using this feature yet, I just ran into it again when my IDEA asked me to download JDK indexes.
j
Well I tried it in little projects, arrow is a big one, I can try it, is there a public branch with a lot of modules in kmp?
❤️ 1
s
Yes, the branch
poc-native
has all targets configured for all platforms
👀 1
j
I have imported arrow libs project with poc native
no issues
my options
s
Awesome! Thanks @Javier for trying locally. Super curious to see this running for all KMP libs.
j
Wait for shared indexed is disabled, a plugin is hidding the checkbox
not sure if that can be the difference