OpenSearch/buildSrc
Jake Landis 1c29140f24
[7.x] Fix incremental build support copying REST api and tests (#52896)
A recent PR #52114 introduced two new tasks to copy the REST api and tests.
A couple bugs were found in that initial PR that prevents the incremental
build from working as expected.

The pattern match of empty string is equivalent to match all and it was coded
as match none. Fixed with explicit checks against empty patterns.

The fileCollection.plus return value was ignored. Fixed by changing how the
input's fileTree is constructed.

If a project has an src/test/resources directory, and tests are being copied
without a rest-api-spec/test directory could result no-op. Masked by the other
bugs and fixed by minor changes to logic to determine if a project has tests.
2020-02-27 12:44:00 -06:00
..
reaper Auto-format buildSrc (#51043) 2020-01-16 10:26:27 +00:00
src [7.x] Fix incremental build support copying REST api and tests (#52896) 2020-02-27 12:44:00 -06:00
.gitignore Build: Add fake project to include buildSrc as normal project 2016-05-06 22:26:15 -07:00
build.gradle Fix caching of build-tools project tests (#52848) 2020-02-26 13:56:08 -08:00
settings.gradle Remove empty buildSrc subproject (#47415) 2019-10-01 16:34:31 -07:00
version.properties Upgrade Lucene to 8.5.0-snapshot-b01d7cb (#52584) 2020-02-21 10:25:03 +00:00