Gradle No candidates found for method call resolutionStrategy.

Answered

I need to use the resoluitonStrategy call in Gradle to handle the overlap of capabilities in my Gradle dependencies; however, no matter what I do my intellij and Gradle can not find this call. I know it exists because Gradle says to use it for this exact reason on their website but for whatever reason, my intellij does not say it is a call that can be made. I've tried all that I could to fix this, a fresh install of intellij, invalidating the files to rebuild the Gradle libraries, refreshing all Gradle projects, but nothing is working. How can I get this vital method back into my version of intellij and Gradle so that I can actually complete this project? 

 

Upload id: 2020_12_12_3QNsqJMZBTy2oTcc (file: Screenshot (4).png)

(I don't know how to put the image up sorry)

0
1 comment

This seems like a false positive unresolved reference in Gradle editor. The actual build build should work fine. I have filled the https://youtrack.jetbrains.com/issue/IDEA-257715 issue for this. Thank you for reporting.

0

Please sign in to leave a comment.