Skip to content

Commit 82189cd

Browse files
committed
Add bintray gradle plugin
1 parent 2a33adc commit 82189cd

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

build.gradle

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ apply plugin: 'net.researchgate.release'
55
apply plugin: 'maven-publish'
66
apply plugin: 'maven'
77
apply plugin: 'signing'
8+
apply plugin: 'com.jfrog.bintray'
89

910
compileJava.options.encoding = 'UTF-8'
1011

@@ -15,10 +16,12 @@ buildscript {
1516
repositories {
1617
mavenLocal()
1718
mavenCentral()
19+
jcenter()
1820
}
1921

2022
dependencies {
2123
classpath 'net.researchgate:gradle-release:2.3.5'
24+
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7'
2225
}
2326
}
2427

@@ -40,6 +43,18 @@ release {
4043

4144
afterReleaseBuild.dependsOn publish
4245

46+
bintray {
47+
user = '${bintray_user}'
48+
key = '${bintray_api_key}'
49+
configurations = ['archives']
50+
pkg {
51+
repo = 'spring-properties-loader'
52+
name = 's3-loader'
53+
licenses = ['Apache-2.0']
54+
vcsUrl = 'https://github.com/ericdallo/spring-s3-properties-loader.git'
55+
}
56+
}
57+
4358
repositories {
4459
mavenCentral()
4560
mavenLocal()
@@ -61,7 +76,6 @@ task sourcesJar(type: Jar) {
6176

6277
artifacts {
6378
archives jar
64-
6579
archives sourcesJar
6680
}
6781

0 commit comments

Comments
 (0)