setup Publishing Simple
fun Project.setupPublishingSimple(config: PublishingSimpleConfig = PublishingSimpleConfig(this)): MavenPublication
Sets up a simple publishing configuration
Applies the
maven-publishpluginIf
withJavadocSourcesJarsis true: call addJavadocSourcesJarsCreates a MavenPublication with the specified config
Return
The MavenPublication that was created
Parameters
config
The configuration for setting up publishing