1#!/bin/sh 2 3echo "TRAVIS_HDK_HOME" $TRAVIS_JDK_HOME 4 5if [ $TRAVIS_JDK_HOME == 'oraclejdk7' ] 6then 7 echo "Uploading snapshot" 8 ./gradlew uploadArchives 9else 10 echo "Current JDK is ${TRAVIS_JDK_HOME}, not uploading snapshot" 11fi 12 13