From 855c22218a42c5ee7f2469bce3e07db1cc4fdd2b Mon Sep 17 00:00:00 2001 From: Clinton Date: Wed, 22 Nov 2017 17:50:51 +0000 Subject: [PATCH] Doorman can now be published to maven local (#125) * Doorman can now be published to maven local for testing against other projects locally. * Fixed the classifier for the JAR --- network-management/build.gradle | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/network-management/build.gradle b/network-management/build.gradle index e997881302..a50b6eb92a 100644 --- a/network-management/build.gradle +++ b/network-management/build.gradle @@ -11,6 +11,7 @@ description 'Network management module encapsulating components such as Doorman, apply plugin: 'us.kirchmeier.capsule' apply plugin: 'kotlin' apply plugin: 'kotlin-jpa' +apply plugin: 'maven-publish' repositories { mavenLocal() @@ -133,4 +134,14 @@ dependencies { } // Needed by jira rest client compile "com.atlassian.fugue:fugue:2.6.1" +} + +publishing { + publications { + doorman(MavenPublication) { + artifact buildDoormanJAR { + classifier "" + } + } + } } \ No newline at end of file