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