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
This commit is contained in:
Clinton 2017-11-22 17:50:51 +00:00 committed by GitHub
parent 99d042ecd3
commit 855c22218a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,6 +11,7 @@ description 'Network management module encapsulating components such as Doorman,
apply plugin: 'us.kirchmeier.capsule' apply plugin: 'us.kirchmeier.capsule'
apply plugin: 'kotlin' apply plugin: 'kotlin'
apply plugin: 'kotlin-jpa' apply plugin: 'kotlin-jpa'
apply plugin: 'maven-publish'
repositories { repositories {
mavenLocal() mavenLocal()
@ -133,4 +134,14 @@ dependencies {
} }
// Needed by jira rest client // Needed by jira rest client
compile "com.atlassian.fugue:fugue:2.6.1" compile "com.atlassian.fugue:fugue:2.6.1"
}
publishing {
publications {
doorman(MavenPublication) {
artifact buildDoormanJAR {
classifier ""
}
}
}
} }