It's simple to make publish in Local maven repository.
plugins {
id "com.nemosw.local-publish" version "1.0"
}
localPublish {
// artifactId 'local-publish'
}
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "gradle.plugin.com.nemosw:spigot-publish:1.0"
}
}
apply plugin: "com.nemosw.local-publish"