public FileCollection minus(final Iterable<FileCollection> collections) {
DeprecationLogger.nagUserWith("The minus(Iterable<FileCollection>) method and using the '-' operator in conjunction with an Iterable<FileCollection> object have been deprecated and are scheduled to be removed in " + GradleVersion.current().getNextMajor().getVersion() + ". Please use the minus(FileCollection) method or the '-' operator with a FileCollection object instead.");
return this.minus(new UnionFileCollection(collections));
}
from: https://github.com/gradle/gradle/blob/db9d00d7a463fa8bbffa453cf04d6105a1dca77d/subprojects/core/src/main/groovy/org/gradle/api/internal/file/AbstractFileCollection.java
кекнул с nagUserWith