Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
export version=1.5.3
if [ "$#" -gt 0 ] ; then
export version="$1"
echo "Installing Dropbox SDK version $version"
unzip dropbox-java-sdk*
cd dropbox-java-sdk*
mvn \
install:install-file \
-Dfile=lib/dropbox-java-sdk-$version.jar \
-DgroupId=com.dropbox.sdk \
-DartifactId=dropbox-client \
-Dversion=$version \
-Dpackaging=jar \
rm -fr dropbox-java-sdk*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment