How to deploy to local maven repository - ml-archive/guidelines GitHub Wiki
This is how you deploy a library project to the local Maven repository:
task installArchives(type: Upload) {
description "Installs the artifacts to the local Maven repository."
configuration = configurations['archives']
repositories {
mavenDeployer {
pom.groupId = 'dk.nodes.nstack'
pom.artifactId = 'nstack'
pom.version = '0.73-LOCAL'
repository url: repositories.mavenLocal().url
}
}
}