Gradle Maven Plugin

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

External

Internal

Overview

apply plugin: 'maven'

Publishing to a Maven Repository

In build.gradle:

uploadArchives {
    repositories {
        mavenDeployer {
            repository(url: "file://localhost/tmp/myRepo/")
        }
    }
}