Ah, that’s a bug. We shouldn’t allow abbreviations to work when it’s ambiguous like that.
We have a similar situation with the ‘java’ plugin. We have ‘compileJava’ and ‘compileTestJava’ and you can’t just use ‘compile’ since it’s ambiguous. That seems to be working, but your example definitely doesn’t. If I change your task name to ‘binaryFilesA’ instead of ‘binaryFiles1’, I get the ambiguous error.
Thanks for finding this.