Skip to content

Commit

Permalink
adding bintray config
Browse files Browse the repository at this point in the history
  • Loading branch information
ajoberstar committed Jun 18, 2016
1 parent bd46012 commit b0793ea
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 2 deletions.
29 changes: 27 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ext.defaultVersions = [
allprojects {
group = 'org.ajoberstar.jupiter'

plugins.withId('java') {
pluginManager.withPlugin('java') {
repositories {
jcenter()
maven {
Expand All @@ -28,14 +28,39 @@ allprojects {
}
}

plugins.withId('maven-publish') {
pluginManager.withPlugin('maven-publish') {
publishing {
repositories {
mavenLocal()
}
}
}

pluginManager.withPlugin('com.jfrog.bintray') {
bintray {
user = System.env['BINTRAY_USER']
key = System.env['BINTRAY_KEY']
publications = ['main']
publish = true
pkg {
repo = 'maven'
name = 'jupiter'
licenses = ['EPL-1.0']
websiteUrl = 'https://github.com/ajoberstar/jupiter'
issueTrackerUrl = 'https://github.com/ajoberstar/jupiter/issues'
vcsUrl = 'https://github.com/ajoberstar/jupiter.git'
labels = ['junit', 'junit5', 'clojure', 'testing', 'gradle']
publicDownloadNumbers = true
githubRepo = 'ajoberstar/jupiter'

version {
name = project.version
vcsTag = project.version
}
}
}
}

configurations.all {
resolutionStrategy.eachDependency { details ->
if (details.requested.version == 'default') {
Expand Down
1 change: 1 addition & 0 deletions jupiter-engine-clojure.test/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
id 'java'
id 'maven-publish'
id 'com.jfrog.bintray' version '1.6'
}

dependencies {
Expand Down
1 change: 1 addition & 0 deletions jupiter-lang-clojure/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
id 'java'
id 'maven-publish'
id 'com.jfrog.bintray' version '1.6'
}

dependencies {
Expand Down

0 comments on commit b0793ea

Please sign in to comment.