and ij recognizes the last, but does not recognize the 2 before it.
a
Alexey Belkov [JB]
01/13/2021, 10:00 AM
Can you please file an issue at http://kotl.in/issue with a sample project to reproduce?
b
Ben Madore
01/13/2021, 3:08 PM
unfortunately not, i realized the artifactory plugin is just really hideous and i ended up doing away with it entirely. intellij consistently though identifies errors on valid
build.gradle.kts
so i’ll try to catch the next one i come across. (though it also seems non-deterministic, one day the project will be fine, then something gets corrupted and it starts complaining even though everything is good on CLI.
Ben Madore
01/13/2021, 3:10 PM
the general issue seems to be: “intellij often fails to properly resolve classes from 3rd party gradle plugins that are on the classpath (cli compilation works as expected, with plugins applied)”
Ben Madore
01/13/2021, 3:18 PM
almost certainly due to a jar indexing issue
Ben Madore
01/13/2021, 3:20 PM
it’s doing it now in another project (which is complex and not shareable unforutnately)
the
io.gitlab.arturbosch.detekt.extension
classes seem to be missing from the index, but do exist within the jar file.
is there any debug information that i could provide specific to the indexes?
a
Alexey Belkov [JB]
01/15/2021, 12:01 PM
Sorry, I'm not sure what information could be useful besides IDE logs. When a YouTrack issue is passed to developers they may be able to say more.