Add bintray plugin for uploading archives

Fixes #21
This commit is contained in:
R. Tyler Croy 2014-12-13 18:00:26 -08:00
parent 108a4e2b24
commit 802c510339
2 changed files with 29 additions and 0 deletions

View File

@ -3,6 +3,7 @@
////////////////////////////////////////////////////////////////////////////////
plugins {
id "io.ratpack.ratpack-groovy" version "0.9.10"
id 'com.jfrog.bintray' version '1.0'
}
apply plugin: 'groovy'
@ -53,4 +54,30 @@ test {
}
}
////////////////////////////////////////////////////////////////////////////////
// RELEASING
////////////////////////////////////////////////////////////////////////////////
bintray {
user = project.bintrayUser
key = project.bintrayKey
publish = true
dryRun = false
configurations = ['archives']
pkg {
userOrg = 'rtyler'
repo = 'maven'
name = 'offtopic'
labels = ['kafka', 'offtopic', 'ratpack', 'groovy']
version {
name = project.version
vcsTag = "v${project.version}"
desc = project.description
}
}
}
bintrayUpload.dependsOn assemble
////////////////////////////////////////////////////////////////////////////////
// vim: ft=groovy

View File

@ -1 +1,3 @@
org.gradle.daemon=true
bintrayUser=
bintrayKey=