summaryrefslogtreecommitdiff
path: root/run.sh
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-01-28 15:02:15 -0700
committermo khan <mo.khan@gmail.com>2020-02-13 15:34:58 -0700
commitf8d0804b0435e0ccacb905ef34b5c2b7da4eb449 (patch)
tree64779a8453c8ae9527cc5f3ce7e40a4a471c29d9 /run.sh
parentd45f5fc5e075cfc27e9156e0449cba12e901ec69 (diff)
Add integration test to scan a gradle project
* Skip gradle invocation and install plugin globally * Update init.gradle * Try project.apply plugin: syntax * apply gradle plugin * Add entry to normalized licenses * Update spdx-licenses * Add CHANGELOG entry
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/run.sh b/run.sh
index ce7d144..c7b9950 100755
--- a/run.sh
+++ b/run.sh
@@ -173,7 +173,7 @@ case "$COMMAND" in
skip_prepare=true
fi
- if test -f build.gradle ; then
+ if [ -f build.gradle ] && [ ! -f gradlew ] ; then
gradle build ${GRADLE_CLI_OPTS:"-x test"}
skip_prepare=true
fi