Gradle wrapper does nothing

(marten.lienen) #1

Hi, 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: 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

Thanks in advance, Marten

(Peter Niederwieser) #2

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.

(marten.lienen) #3

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