Given this build file:
task unique1()
task uniqueA()
Running with this command-line should produce an ambiguous task selection error between unique1 and uniqueA.
Instead, we select unique1. Tested with 1.0, 2.0, 2.2.1 and master (2.4 nightly).
Migrated from: https://issues.gradle.org/browse/GRADLE-3258