From 57a7a880ceb99adfd784e149ef22324ec2239340 Mon Sep 17 00:00:00 2001 From: Nicholas Rahn Date: Wed, 12 Aug 2015 16:10:21 +0200 Subject: [PATCH] Adding maven plugin so it will install into local maven repo. --- build.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index a4c9decb..4589914c 100644 --- a/build.gradle +++ b/build.gradle @@ -27,6 +27,7 @@ allprojects { ext.displayName = null ext.buildTimestamp = new Date().format('yyyy-MM-dd HH:mm:ss') + apply plugin: 'maven' group = 'com.jayway.jsonpath' version = '2.0.1' + (snapshotVersion ? "-SNAPSHOT" : "") @@ -75,4 +76,4 @@ task wrapper(type: Wrapper) { //Task used by Heroku for staging task stage(dependsOn: [':json-path-web-test:clean', 'json-path-web-test:jar', 'json-path-web-test:shadowJar']) {} -apply from: "$rootDir/gradle/binaryCompatibility.gradle" \ No newline at end of file +apply from: "$rootDir/gradle/binaryCompatibility.gradle"