Skip to content

Commit

Permalink
Updated the bintray plugin and readme docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjstehno committed Oct 11, 2014
1 parent 0a104ce commit fd68dc2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
12 changes: 8 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -37,6 +40,7 @@ dependencies {
compile localGroovy()

testCompile 'junit:junit:4.11'
testCompile 'org.mockito:mockito-all:1.9.5'
}

publishing {
Expand All @@ -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')
Expand Down

0 comments on commit fd68dc2

Please sign in to comment.