Hi everybody - I have developed an IntelliJ plugin which allows to easily search and add dependencies to build.gradle and build.gradle.kts plugins -
https://github.com/scana/ok-gradle (also available in Plugins section in your IDE)
Posting it here as somebody might find it useful from plugin development perspective (it took me a long time to figure out some stuff when I started developing this)