mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-05 20:48:22 +00:00
1559f85c73
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`. Original commit: elastic/x-pack-elasticsearch@d01b0df1d9
13 lines
316 B
Groovy
13 lines
316 B
Groovy
|
|
/* Remove assemble on all qa projects because we don't need to publish
|
|
* artifacts for them. */
|
|
gradle.projectsEvaluated {
|
|
subprojects {
|
|
Task assemble = project.tasks.findByName('assemble')
|
|
if (assemble) {
|
|
project.tasks.remove(assemble)
|
|
project.build.dependsOn.remove('assemble')
|
|
}
|
|
}
|
|
}
|