代码拉取完成,页面将自动刷新
#!/usr/bin/env bash
export TERM="dumb"
printf "\n> \e[1;37mBuilding graphql-java-datetime\e[0m\n"
set -e
ABSOLUTE_PATH=$(cd `dirname "${BASH_SOURCE[0]}"` && pwd)
cd ${ABSOLUTE_PATH}
appVersion=$(./version.sh)
printf "\n# Project version \e[1;37m$appVersion\e[0m"
rm -rf build
printf "\n# Checking for failed dependencies\n\n"
./gradlew dependencies | grep FAILED && exit 1
if [ -n "${ARTIFACTORY_CONTEXT_URL}" ]; then
printf "\n# Publishing plugin to Artifactory\n\n"
./gradlew -PprojectVersion=${appVersion} clean jar sourcesJar generatePomFileForMainProjectPublicationPublication artifactoryPublish
elif [ -n "${BINTRAY_KEY}" ]; then
printf "\n# Publishing plugin to Bintray\n\n"
./gradlew -PprojectVersion=${appVersion} clean jar sourcesJar javadocJar generatePomFileForMainProjectPublicationPublication
./gradlew -PprojectVersion=${appVersion} bintrayUpload
else
printf "# Installing locally\n\n"
./gradlew -PprojectVersion=${appVersion} clean install -x javadoc -x test
fi
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。