2 Star 5 Fork 2

dou dou/rains-graphql-java-extended

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.sh 1014 Bytes
一键复制 编辑 原始数据 按行查看 历史
dou dou 提交于 2019-11-05 14:41 . version 2.10.5
#!/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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/hugosz/rains-graphql-java-extended.git
git@gitee.com:hugosz/rains-graphql-java-extended.git
hugosz
rains-graphql-java-extended
rains-graphql-java-extended
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385