[GRADLE-2635] Tooling API ignores logging command line parameters Created: 15/Jan/13  Updated: 21/Jan/13  Resolved: 19/Jan/13

Status: Resolved
Project: Gradle
Affects Version/s: None
Fix Version/s: 1.5-rc-1

Type: Bug
Reporter: Szczepan Faber Assignee: Unassigned
Resolution: Fixed Votes: 0


 Description   

Tooling API does not respect the logging parameters (e.g. '-i', '-d', etc.) if there are other parameters passed (e.g. '-b', 'someFile', or '-I', 'someInitFile').

//works:
build.withArguments("-i", "-b", "buildX.gradle")
//ignores logging setting:
build.withArguments("-b", "buildX.gradle", "-i")

There might be other parameters than -b or -I that can demonstrate this behavior.

Workaround

Until fixed, please put the logging parameter in front of the arguments list.


Generated at Wed Jun 30 12:27:17 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.