Intellij: refresh gradle dependencies

Learn
Aug 29, 2024

--

So I was debugging something that was not working, and I dug through a lot of hay and came upon a method, and the debugger would just not hit it. Just bypasses it totally. Repeated tries are not going to help. What did?

It was a gradle project, and I am using Intellij IDE. I open the gradle side bar, right clicked on the project name and hit the

Refresh Gradle Dependencies

action, NOT the “Reload Gradle Project” action which I tend to do all the time.

It took a while but when the dust settled, the breakpoints started getting hit.

--

--

Learn
Learn

Written by Learn

On a continuing learning journey..

No responses yet