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 /benchmarks | |
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 'benchmarks')
-rw-r--r-- | benchmarks/build.gradle | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/benchmarks/build.gradle b/benchmarks/build.gradle index 45e20392b8..44687f154f 100644 --- a/benchmarks/build.gradle +++ b/benchmarks/build.gradle @@ -34,7 +34,9 @@ apply plugin: 'com.github.johnrengelman.shadow' // have the shadow plugin provide the runShadow task apply plugin: 'application' -tasks.remove(assemble) // Not published so no need to assemble +// Not published so no need to assemble +tasks.remove(assemble) +build.dependsOn.remove('assemble') archivesBaseName = 'elasticsearch-benchmarks' mainClassName = 'org.openjdk.jmh.Main' |