Skip to content

Commit 701f3f2

Browse files
committed
Do not pass --scan on command line
This causes build classpath issues with Gradle 5.x
1 parent bff65a8 commit 701f3f2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

components/scripts/lib/gradle.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ invoke_gradle() {
2020
args+=("-Dcom.gradle.enterprise.build_validation.server=${ge_server}")
2121
fi
2222

23-
if [[ "${build_scan_publishing_mode}" == "on" ]]; then
24-
args+=("--scan")
25-
else
23+
if [[ "${build_scan_publishing_mode}" == "off" ]]; then
2624
args+=("-Dscan.dump")
2725
fi
2826

0 commit comments

Comments
 (0)