From 21b1db2965285f7ae13f2a756e8e20719060d9d6 Mon Sep 17 00:00:00 2001 From: Nik Everett Date: Fri, 16 Jun 2017 17:16:03 -0400 Subject: 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`. --- client/client-benchmark-noop-api-plugin/build.gradle | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'client/client-benchmark-noop-api-plugin') 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" -- cgit v1.2.3