snyk-gradle-plugin
Advanced tools
Comparing version 3.2.4 to 3.2.5
@@ -6,2 +6,3 @@ import { legacyCommon, legacyPlugin as api } from '@snyk/cli-interface'; | ||
'configuration-attributes'?: string; | ||
daemon?: boolean; | ||
} | ||
@@ -8,0 +9,0 @@ declare type Options = api.InspectOptions & GradleInspectOptions; |
@@ -399,5 +399,5 @@ "use strict"; | ||
} | ||
// For some reason, this is not required for Unix, but on Windows, without this flag, apparently, | ||
// Gradle process just never exits, from the Node's standpoint. | ||
args.push('--no-daemon'); | ||
if (!options.daemon) { | ||
args.push('--no-daemon'); | ||
} | ||
// Parallel builds can cause race conditions and multiple JSONDEPS lines in the output | ||
@@ -407,2 +407,6 @@ // Gradle 4.3.0+ has `--no-parallel` flag, but we want to support older versions. | ||
args.push('-Dorg.gradle.parallel='); | ||
// Since version 4.3.0+ Gradle uses different console output mechanism. Default mode is 'auto', | ||
// if Gradle is attached to a terminal. It means build output will use ANSI control characters | ||
// to generate the rich output, therefore JSON cannot be parsed. | ||
args.push('-Dorg.gradle.console=plain'); | ||
if (!cli_interface_1.legacyPlugin.isMultiSubProject(options)) { | ||
@@ -409,0 +413,0 @@ args.push('-PonlySubProject=' + (options.subProject || '.')); |
@@ -50,3 +50,3 @@ { | ||
}, | ||
"version": "3.2.4" | ||
"version": "3.2.5" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
55021
532