Here is a work around for issues with Intellij not recognizing plugins declared in buildscript {} in my build.gradle.kts when the repositories are defined in an init.gradle init script. Instead I've created a pluginManagment block in settings.gradle. Then instead of using a simple version number (e.g. "1.0.0" I use the full GAV "sampleapplication1.0.0")