diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2015-11-05 20:41:11 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-11-05 20:41:11 +0100 |
commit | 42e9650b57f6880c913bf7003c6097d00939368a (patch) | |
tree | 065cbfa645740d9552b7e986f45edb5d36c22680 /dokka-fatjar | |
parent | f325c16c73eccea2f2daed64b123efa3bdd25bcd (diff) | |
download | dokka-42e9650b57f6880c913bf7003c6097d00939368a.tar.gz dokka-42e9650b57f6880c913bf7003c6097d00939368a.tar.bz2 dokka-42e9650b57f6880c913bf7003c6097d00939368a.zip |
bintray upload work in progress
Diffstat (limited to 'dokka-fatjar')
-rw-r--r-- | dokka-fatjar/build.gradle | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/dokka-fatjar/build.gradle b/dokka-fatjar/build.gradle index 18718973..1c5784ec 100644 --- a/dokka-fatjar/build.gradle +++ b/dokka-fatjar/build.gradle @@ -13,6 +13,7 @@ buildscript { apply plugin: 'java' apply plugin: 'maven-publish' +apply plugin: 'com.jfrog.bintray' task wrapper(type: Wrapper) { gradleVersion = '2.5' @@ -29,6 +30,10 @@ task proguard(type: ProGuardTask) { injars 'build/libs/dokka-fatjar-${dokka_version}.jar' outjars 'build/libs/dokka-fatjar-${dokka_version}.out.jar' } +proguard.doLast { + new File('build/libs/dokka-fatjar-${dokka_version}.jar').renameTo('build/libs/dokka-fatjar-${dokka_version}.in.jar') + new File('build/libs/dokka-fatjar-${dokka_version}.out.jar').renameTo('build/libs/dokka-fatjar-${dokka_version}.jar') +} jar { manifest { @@ -75,3 +80,22 @@ publishing { } } } + +bintray { + user = System.getenv('BINTRAY_USER') + key = System.getenv('BINTRAY_KEY') + + pkg { + repo = 'dokka' + name = 'dokka' + userOrg = 'jetbrains' + desc = 'Dokka, the Kotlin documentation tool' + vcsUrl = 'https://github.com/kotlin/dokka.git' + licenses = ['Apache-2.0'] + version { + name = dokka_version + } + } + + publications = ['maven'] +} |