build: fix timeout in windows due to travis

- refs: https://travis-ci.community/t/windows-build-hangs-after-done-exit-0/1439
This commit is contained in:
Connor Tumbleson 2019-02-16 14:00:25 -05:00
parent 37e700424a
commit 443e5d3643
No known key found for this signature in database
GPG Key ID: C3CC0A201EC7DA75

View File

@ -1,6 +1,7 @@
#!/usr/bin/env sh
if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
export GRADLE_OPTS=-Dorg.gradle.daemon=false
export PATH=$PATH:"/c/Program Files/Java/jdk1.8.0_201/bin"
./gradlew.bat build shadowJar proguard
else