From d85c82d505eb364e7a43578e39b31fc729f3bb94 Mon Sep 17 00:00:00 2001 From: Clinton Alexander Date: Fri, 7 Oct 2016 11:20:33 +0100 Subject: [PATCH] Replaced maven plugin with the newer, simpler, maven-publish plugin and added an alias. --- build.gradle | 3 +++ core/build.gradle | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index b11d908fa3..3b5c63bd42 100644 --- a/build.gradle +++ b/build.gradle @@ -264,6 +264,9 @@ task installTemplateNodes(dependsOn: 'buildCordaJAR') << { } } +// Aliasing the publishToMavenLocal for simplicity. +task(install, dependsOn: 'publishToMavenLocal') + publishing { publications { corda(MavenPublication) { diff --git a/core/build.gradle b/core/build.gradle index 208e2d82c5..28b10af031 100644 --- a/core/build.gradle +++ b/core/build.gradle @@ -1,7 +1,6 @@ apply plugin: 'kotlin' apply plugin: QuasarPlugin // Applying the maven plugin means this will get installed locally when running "gradle install" -apply plugin: 'maven' apply plugin: DefaultPublishTasks buildscript {