[GRADLE-2755] Typos in task creation arguments are ignored Created: 21/Apr/13  Updated: 10/Nov/13  Resolved: 10/Nov/13

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

Type: Bug
Reporter: Gradle Forums Assignee: René Gröschke (Inactive)
Resolution: Fixed Votes: 0


I try to create the gradle wrapper, but nothing happens.

My build.gradle looks like

task wrapper(Type: Wrapper)

{ gradleVersion = '1.5' }

I execute the command `gradle -d wrapper` and the output is: [1]https://gist.github.com/CQQL/5423565
It says, that it skips the wrapper task, because it has no actions. What is going on?

I am using the 1.5 version, that I just downloaded from [2]http://www.gradle.org/downloads.

Thanks in advance,
[1] https://gist.github.com/CQQL/5423565
[2] http://www.gradle.org/downloads

Comment by Gradle Forums [ 21/Apr/13 ]

Your build script contains a typo - it should be `type:` with a lowercase `t`. Ideally, Gradle would flag this as an error, but currently it doesn't.

Comment by Gradle Forums [ 21/Apr/13 ]

Thank you. I thought I saw it like that in the user guide.

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