diff --git a/.travis.yml b/.travis.yml index 9730e2d5c1..a54289cb26 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,8 +7,7 @@ before_install: script: - "./gradlew clean check" after_success: -- "./gradlew coberturaReport coveralls > /dev/null" -- ./gradlew artifactoryPublish -PbintrayUsername="${BINTRAY_USER}" -PbintrayApiKey="${BINTRAY_KEY}" +- test $TRAVIS_BRANCH = "master" && ./gradlew artifactoryPublish -PbintrayUsername="${BINTRAY_USER}" -PbintrayApiKey="${BINTRAY_KEY}" before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ diff --git a/build.gradle b/build.gradle index 6fe7f5b3e6..a738ad463f 100644 --- a/build.gradle +++ b/build.gradle @@ -9,7 +9,7 @@ buildscript { dependencies { classpath 'net.saliman:gradle-cobertura-plugin:2.3.2' classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.7.1' - classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3' + classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4' classpath 'me.champeau.gradle:jmh-gradle-plugin:0.3.1' classpath "org.asciidoctor:asciidoctor-gradle-plugin:1.5.3" classpath "org.ajoberstar:gradle-git:1.3.2" @@ -24,7 +24,7 @@ apply plugin: 'com.github.kt3k.coveralls' apply from: "${rootDir}/libraries.gradle" ext { - releaseVersion = '0.13.2' + releaseVersion = '0.14.0' } allprojects { @@ -32,7 +32,7 @@ allprojects { apply plugin: 'me.champeau.gradle.jmh' apply plugin: 'com.jfrog.artifactory' - version = '0.14.0-SNAPSHOT' + version = '0.14.0' group = 'io.github.resilience4j' description = 'Resilience4j is a lightweight, easy-to-use fault tolerance library designed for Java8 and functional programming' diff --git a/publishing.gradle b/publishing.gradle index 3277c8ad8f..8f47183adb 100644 --- a/publishing.gradle +++ b/publishing.gradle @@ -59,7 +59,8 @@ bintray { desc = project.description licenses = ['Apache-2.0'] version { - vcsTag = project.version + name = project.version + vcsTag = "v${project.version}" gpg { sign = true //Determines whether to GPG sign the files. The default is false //Optional. The passphrase for GPG signing' @@ -82,7 +83,7 @@ publishing { def devs = ['RobWin': 'Robert Winkler', 'storozhukBM': 'Bogdan Storozhuk', 'drmaas': 'Dan Maas', - 'goldobin': 'Oleksandr Goldobin'] + 'Romeh': 'Mahmoud Romeh'] def root = asNode() root.dependencies.'*'.findAll() {