elastic / elastic/logstash

[Meta] Move from rake to gradle to build Logstash

Open
#8,235 1 comment 0 reactions 0 assignees View on GitHub
packaging
Dominant language
Java
Stars
14.9k
Forks
3.5k
Avg merge
19h 14m
Merged PRs (30d)
63

Description

We want to move from rake to Gradle to achieve the following goals:

- Be a better java citizen
- Easier to create project dependencies
- Reduce dependencies needed to build logstash
- Faster build
- Eliminate double launch of ruby.

**Steps required:**

- [x] Download JRuby with gradle instead of Rake https://github.com/elastic/logstash/issues/8234
- [ ] Download the minimal gems with gradle
- [ ] Remove the rake `test:install-core`
- [ ] Make gradle invoke _bundle install_.
- [ ] Evaluate the **rake artifact** build tasks, we have done a lot of work with it and FPM has been great so far.
- [ ] Fix environment initialization and loading https://github.com/elastic/logstash/issues/8207
- [ ] Clean unused rake task so we don't migrate them.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.