binkley / modern-java-practices

Modern Java/JVM Build Practices
Other
933 stars 69 forks source link

Investigate Dagger and other container builds #445

Open binkley opened 5 months ago

binkley commented 5 months ago

https://dagger.io/ This was mentioned to me by @charleskorn. It is one of other alternatives for a containerized build.

Background Originally, the builds were containerized in Batect. The maintainer (Charles Korn) has move on from this project, and the best option is Earthly. Research other options, and provide alternative config/scripts for keeping your build identical in CI and local.

Dagger is in the style of Gradle: Programming your build. Consider wiki discussion on declarative vs programmed builds.

The front page of Dagger offers:

Transform your Messy CI Scripts into Clean Code Powerful, programmable open source CI/CD engine that runs your pipelines in containers — pre-push on your local machine and/or post-push in CI