summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorNik Everett <nik9000@gmail.com>2017-06-16 11:46:34 -0400
committerGitHub <noreply@github.com>2017-06-16 11:46:34 -0400
commit7b358190d67764a4cfe4dd3dc43888631c7e4eca (patch)
treeafedd96adf22d16306ef08467ff6db4f1690cee7 /benchmarks
parentb5cea6980b44890b92c408104674d47ba55b3fbe (diff)
Remove assemble task when not used for publishing (#25228)
Removes the `assemble` task from projects that are not published. This should speed up `gradle assemble` by skipping projects that don't need to be built. Which is useful because `gradle assemble` is how we cut releases.
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/build.gradle2
1 files changed, 2 insertions, 0 deletions
diff --git a/benchmarks/build.gradle b/benchmarks/build.gradle
index 5a508fa106..45e20392b8 100644
--- a/benchmarks/build.gradle
+++ b/benchmarks/build.gradle
@@ -34,6 +34,8 @@ 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
+
archivesBaseName = 'elasticsearch-benchmarks'
mainClassName = 'org.openjdk.jmh.Main'