Replaced maven plugin with the newer, simpler, maven-publish plugin and added an alias.

This commit is contained in:
Clinton Alexander 2016-10-07 11:20:33 +01:00
parent 2f082d8cbe
commit d85c82d505
2 changed files with 3 additions and 1 deletions

View File

@ -264,6 +264,9 @@ task installTemplateNodes(dependsOn: 'buildCordaJAR') << {
}
}
// Aliasing the publishToMavenLocal for simplicity.
task(install, dependsOn: 'publishToMavenLocal')
publishing {
publications {
corda(MavenPublication) {

View File

@ -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 {