CamelCase doesn't work on command line for rule-based tasks


(Mathias Kalb) #1

“gradle cleanMyOwnTask” works, but “gradle cMOT” doesn’t work.

Example:

apply plugin: 'java'
  task myOwnTask << {
    println 'Hello world!'
}
gradle myOwnTask
gradle mOT
gradle cleanMyOwnTask
gradle cMOT -> FAIL!!!

http://issues.gradle.org/browse/GRADLE-1353


(Peter Niederwieser) #2

It’s a known limitation, and hasn’t been tackled yet (see issue).