diff options
author | Nik Everett <nik9000@gmail.com> | 2017-06-16 11:46:34 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-16 11:46:34 -0400 |
commit | 7b358190d67764a4cfe4dd3dc43888631c7e4eca (patch) | |
tree | afedd96adf22d16306ef08467ff6db4f1690cee7 /benchmarks | |
parent | b5cea6980b44890b92c408104674d47ba55b3fbe (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.gradle | 2 |
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' |