I want to configure the maven publish plugin using...
# gradle
p
I want to configure the maven publish plugin using shared logic in my buildSrc. But that would mean that I need to have the maven publish plugin in the class path of my buildSrc. How can I do that?
if you are using groovy where you apply the plugin, I think this was the way to apply the precompiled plugin
Copy code
plugins {
   id("MavenPublish")
}
e
The maven-publish plugin comes bundled with Gradle. 🤔 It is already on the classpath when you depend on Gradle apis. Try
implementation(gradleApi())
in your dependencies if you dont have it already.