#!/usr/bin/env bash

test "${TRAVIS_PULL_REQUEST}" == "false" && \
    test "${TRAVIS_JDK_VERSION}" == "oraclejdk7" && \
    test "${TRAVIS_TAG}" != "" && \
    echo Deploying to Bintray && \
    ./gradlew bintrayUpload

#!/usr/bin/env bash

test "${TRAVIS_PULL_REQUEST}" == "false" && \
    test "${TRAVIS_JDK_VERSION}" == "oraclejdk8" && \
    test "${TRAVIS_TAG}" != "" && \
    echo Deploying to Bintray && \
    ./gradlew bintrayUpload

Deploy to bintray via JDK8 instead of 7
Deploy to bintray via JDK8 instead of 7

This may fix a problem with the bintrayUpload task
