https://kotlinlang.org logo
Title
p

Paul Woitaschek

10/20/2020, 8:26 AM
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
plugins {
   id("MavenPublish")
}
e

efemoney

10/20/2020, 9:31 AM
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.