Has anyone had trouble with indexing common depend...
# multiplatform
j
Has anyone had trouble with indexing common dependencies? I add a dependency to the common and IntelliJ does't show it though I can write the import and use the class and build with
gradlew build
just fine
l
I get this sometimes. Invalidate Caches and Restart Android Studio typically works.
j
Have restarted/invalidated caches for a while now. Adding the jvm target with -jvm suffix works fine, but in common without any suffix doesn't work
l
That's interesting. Have you tried searching https://mvnrepository.com/ for the non-jvm name? Some libraries have different URLs than you would expect.
j
It's my own library hosted on JB Space, actually just copypasta the gradle import. The thing is that it works on gradle just not on intellij