I have built a Gradle plugin and published it to the local maven repository. I can see it in my ~/.m2/repository. However, when I run a Gradle project to use this plugin, it
I think that specifying a custom plugin repository looks promising: this feature lets you configure the plugins{} DSL to resolve from other repositories in addition to the gradle plugin portal. I think you'd want to update your settings.gradle with configuration something along the lines of:
pluginManagement {
repositories {
mavenLocal()
gradlePluginPortal()
}
}
(Note that this code block needs to appear at the top of settings.gradle).