From b4dc5e48d56a9f4929526d1ce366427885f250f7 Mon Sep 17 00:00:00 2001 From: Jose Coll Date: Thu, 13 Oct 2016 12:52:08 +0100 Subject: [PATCH] Publication of client jars for usage by cordapp_template --- client/build.gradle | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/client/build.gradle b/client/build.gradle index bd4cc08d25..e304e4721d 100644 --- a/client/build.gradle +++ b/client/build.gradle @@ -1,5 +1,6 @@ apply plugin: 'kotlin' apply plugin: QuasarPlugin +apply plugin: DefaultPublishTasks repositories { 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 // build/reports/project/dependencies/index.html for green highlighted parts of the tree.