From f8d0804b0435e0ccacb905ef34b5c2b7da4eb449 Mon Sep 17 00:00:00 2001 From: mo khan Date: Tue, 28 Jan 2020 15:02:15 -0700 Subject: 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 --- run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'run.sh') 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 -- cgit v1.2.3