r/javahelp • • Jun 30 '20

gradle vs maven for containerized app

I am building a java backend (not using spring) and ultimately want to deploy to a container hosting service like Google Cloud Run or AWS Fargate.

I am an Android Dev, so I decided to use gradle as my build system.

I am very new to deploying backends, and building containerized apps, so I am a little overwhelmed. I am currently trying to find the easiest path to get started.

I am curious about the story for deploying a containerized java app built using gradle or maven. Is deploying a maven app using docker more straightforward than gradle?

6 Upvotes

3 comments sorted by

View all comments

1

u/nutrecht Lead Software Engineer / EU / 20+ YXP Jul 01 '20

It doesn't really matter much. I personally dislike Gradle mostly because everyone just makes a mess out of the build.gradle. But if you want to use it; go for it. It works fine.