Publication of client jars for usage by cordapp_template

This commit is contained in:
Jose Coll 2016-10-13 12:52:08 +01:00
parent 68e0ddecc0
commit b4dc5e48d5

View File

@ -1,5 +1,6 @@
apply plugin: 'kotlin' apply plugin: 'kotlin'
apply plugin: QuasarPlugin apply plugin: QuasarPlugin
apply plugin: DefaultPublishTasks
repositories { repositories {
mavenLocal() mavenLocal()
@ -37,6 +38,18 @@ sourceSets {
} }
} }
publishing {
publications {
clients(MavenPublication) {
from components.java
artifactId 'client'
artifact sourceJar
artifact javadocJar
}
}
}
// To find potential version conflicts, run "gradle htmlDependencyReport" and then look in // To find potential version conflicts, run "gradle htmlDependencyReport" and then look in
// build/reports/project/dependencies/index.html for green highlighted parts of the tree. // build/reports/project/dependencies/index.html for green highlighted parts of the tree.