1#!/bin/bash 2# 3# Deploy a jar, source jar, and javadoc jar to Sonatype's snapshot repo. 4# 5# Adapted from https://coderwall.com/p/9b_lfq and 6# http://benlimmer.com/2013/12/26/automatically-publish-javadoc-to-gh-pages-with-travis-ci/ 7 8set -e 9 10./gradlew publish -PmavenCentralUsername="${SONATYPE_USERNAME}" -PmavenCentralPassword="${SONATYPE_PASSWORD}" 11