OpenSearch/plugins/repository-gcs
Ryan Ernst d6e17170c3
Simplify adding plugins and modules to testclusters (#61886)
There are currently half a dozen ways to add plugins and modules for
test clusters to use. All of them require the calling project to peek
into the plugin or module they want to use to grab its bundlePlugin
task, and then both depend on that task, as well as extract the archive
path the task will produce. This creates cross project dependencies that
are difficult to detect, and if the dependent plugin/module has not yet
been configured, the build will fail because the task does not yet
exist.

This commit makes the plugin and module methods for testclusters
symmetetric, and simply adding a file provider directly, or a project
path that will produce the plugin/module zip. Internally this new
variant uses normal configuration/dependencies across projects to get
the zip artifact. It also has the added benefit of no longer needing the
caller to add to the test task a dependsOn for bundlePlugin task.
2020-09-03 19:37:46 -07:00
..
licenses Remove Unused Apache Http Dependency from GCS Repo Plugin (#54331) (#54342) 2020-03-27 15:10:19 +01:00
src Remove GCS Bucket Exists Check (#60899) (#60914) 2020-08-11 09:54:27 +02:00
build.gradle Simplify adding plugins and modules to testclusters (#61886) 2020-09-03 19:37:46 -07:00