diff options
author | Nik Everett <nik9000@gmail.com> | 2017-06-16 17:16:03 -0400 |
---|---|---|
committer | Nik Everett <nik9000@gmail.com> | 2017-06-16 17:19:14 -0400 |
commit | 21b1db2965285f7ae13f2a756e8e20719060d9d6 (patch) | |
tree | cdf5abb728dd7bf7fb855482730ae5ad1810e99f /client/client-benchmark-noop-api-plugin | |
parent | 0c697348f41e1ebdcf2396a95e48b6eccc50dd3b (diff) |
Remove assemble from build task when assemble removed
Removes the `assemble` task from the `build` task when we have
removed `assemble` from the project. We removed `assemble` from
projects that aren't published so our releases will be faster. But
That broke CI because CI builds with `gradle precommit build` and,
it turns out, that `build` includes `check` and `assemble`. With
this change CI will only run `check` for projects without an
`assemble`.
Diffstat (limited to 'client/client-benchmark-noop-api-plugin')
-rw-r--r-- | client/client-benchmark-noop-api-plugin/build.gradle | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/client/client-benchmark-noop-api-plugin/build.gradle b/client/client-benchmark-noop-api-plugin/build.gradle index 17fe10fc8f..bee41034c3 100644 --- a/client/client-benchmark-noop-api-plugin/build.gradle +++ b/client/client-benchmark-noop-api-plugin/build.gradle @@ -27,7 +27,9 @@ esplugin { classname 'org.elasticsearch.plugin.noop.NoopPlugin' } -tasks.remove(assemble) // Not published so no need to assemble +// Not published so no need to assemble +tasks.remove(assemble) +build.dependsOn.remove('assemble') compileJava.options.compilerArgs << "-Xlint:-cast,-deprecation,-rawtypes,-try,-unchecked" |