From fd68dc29d48a594f4bc5c305f78c5fc52b9390cd Mon Sep 17 00:00:00 2001 From: "Christopher J. Stehno" Date: Sat, 11 Oct 2014 11:57:19 -0500 Subject: [PATCH] Updated the bintray plugin and readme docs. --- README.md | 2 -- build.gradle | 12 ++++++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index abd199a..e69d701 100644 --- a/README.md +++ b/README.md @@ -10,8 +10,6 @@ A Gradle plugin to aid in working with Java-based project that provide supportin To add the plugin to your project, add the following to your `build.gradle` file (or update the `buildscript` block if it already exists): -need to update for the new pluin repo... and keep this version too - ```groovy buildscript { repositories { diff --git a/build.gradle b/build.gradle index 3d18ff5..85cb965 100644 --- a/build.gradle +++ b/build.gradle @@ -14,19 +14,22 @@ * limitations under the License. */ +group='com.stehno' +version=0.2 + buildscript { repositories { maven { url 'http://jcenter.bintray.com' } } dependencies { - classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:0.3' + classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:0.5' } } apply plugin:'groovy' apply plugin:'maven' apply plugin:'maven-publish' -apply plugin:'bintray' +apply plugin:'com.jfrog.bintray' repositories { jcenter() @@ -37,6 +40,7 @@ dependencies { compile localGroovy() testCompile 'junit:junit:4.11' + testCompile 'org.mockito:mockito-all:1.9.5' } publishing { @@ -48,10 +52,10 @@ publishing { } task wrapper( type:Wrapper) { - gradleVersion = '1.10' + gradleVersion = '2.1' } -// NOTE: when running this you still need to go to web and publish updates +// NOTE: run bintrayUpload and then go to web and publish. bintray { user = property('bintray-user') key = property('bintray-key')