Clone
Adam Murdoch
committed
on 12 Jan 16
Replaced `Specs.and()`, `or()` and `not()` with `intersect()`, `union()` and `negate()`.
The new methods perform some simplification of the … Show more
Replaced `Specs.and()`, `or()` and `not()` with `intersect()`, `union()` and `negate()`.

The new methods perform some simplification of the specs, such as removing double negation or short circuiting 'and(nothing, something)''. The specs created by these methods are used to select files in file sets, and can be invoked many, many times during a build.

New methods were required as the signatures of the old methods did not allow much simplification. The old methods have been deprecated and will be removed in Gradle 3.0.

Show less

master + 486 more