#!/bin/bash set -e source $(dirname $0)/common.sh repository=$(pwd)/distribution-repository pushd git-repo > /dev/null ./gradlew --no-daemon --max-workers=4 -PdeploymentRepository=${repository} build publishAllPublicationsToDeploymentRepository popd > /dev/null