Skip to content

Commit b0793ea

Browse files
committed
adding bintray config
1 parent bd46012 commit b0793ea

File tree

3 files changed

+29
-2
lines changed

3 files changed

+29
-2
lines changed

build.gradle

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ext.defaultVersions = [
1818
allprojects {
1919
group = 'org.ajoberstar.jupiter'
2020

21-
plugins.withId('java') {
21+
pluginManager.withPlugin('java') {
2222
repositories {
2323
jcenter()
2424
maven {
@@ -28,14 +28,39 @@ allprojects {
2828
}
2929
}
3030

31-
plugins.withId('maven-publish') {
31+
pluginManager.withPlugin('maven-publish') {
3232
publishing {
3333
repositories {
3434
mavenLocal()
3535
}
3636
}
3737
}
3838

39+
pluginManager.withPlugin('com.jfrog.bintray') {
40+
bintray {
41+
user = System.env['BINTRAY_USER']
42+
key = System.env['BINTRAY_KEY']
43+
publications = ['main']
44+
publish = true
45+
pkg {
46+
repo = 'maven'
47+
name = 'jupiter'
48+
licenses = ['EPL-1.0']
49+
websiteUrl = 'https://github.com/ajoberstar/jupiter'
50+
issueTrackerUrl = 'https://github.com/ajoberstar/jupiter/issues'
51+
vcsUrl = 'https://github.com/ajoberstar/jupiter.git'
52+
labels = ['junit', 'junit5', 'clojure', 'testing', 'gradle']
53+
publicDownloadNumbers = true
54+
githubRepo = 'ajoberstar/jupiter'
55+
56+
version {
57+
name = project.version
58+
vcsTag = project.version
59+
}
60+
}
61+
}
62+
}
63+
3964
configurations.all {
4065
resolutionStrategy.eachDependency { details ->
4166
if (details.requested.version == 'default') {

jupiter-engine-clojure.test/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
plugins {
22
id 'java'
33
id 'maven-publish'
4+
id 'com.jfrog.bintray' version '1.6'
45
}
56

67
dependencies {

jupiter-lang-clojure/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
plugins {
22
id 'java'
33
id 'maven-publish'
4+
id 'com.jfrog.bintray' version '1.6'
45
}
56

67
dependencies {

0 commit comments

Comments
 (0)