Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port the build to Gradle #19608

Closed
wilkinsona opened this issue Jan 10, 2020 · 4 comments
Closed

Port the build to Gradle #19608

wilkinsona opened this issue Jan 10, 2020 · 4 comments
Assignees
Labels
type: task A general task
Milestone

Comments

@wilkinsona
Copy link
Member

No description provided.

@wilkinsona wilkinsona added the type: task A general task label Jan 10, 2020
@wilkinsona wilkinsona added this to the 2.3.0.M1 milestone Jan 10, 2020
@wilkinsona wilkinsona self-assigned this Jan 10, 2020
@dreis2211
Copy link
Contributor

Hi @wilkinsona. I maybe have a stupid question. Isn't that breaking the semi automatic dependency upgrade process? And is there maybe a replacement for it?

Could you elaborate on the reasoning behind moving to Gradle other than publishing metadata for the modules? Where there any problems with the Maven tooling?

Cheers,
Christoph

@wilkinsona
Copy link
Member Author

I maybe have a stupid question. Isn't that breaking the semi automatic dependency upgrade process? And is there maybe a replacement for it?

It's built into the build now:

 ./gradlew spring-boot-project:spring-boot-dependencies:bomrUpgrade

Could you elaborate on the reasoning behind moving to Gradle other than publishing metadata for the modules?

The Gradle metadata is really just an added bonus. The main motivation was to be able to reduce build times by parallelising the build (something we couldn't do in Maven due to our use of the Invoker plugin) and to take full advantage of Gradle's build cache.

@dreis2211
Copy link
Contributor

Are the build times of 8-10 minutes correct? That would be an amazing improvement. 🚀

@wilkinsona
Copy link
Member Author

Yep, they're correct. Things won't always be that good as that's pretty much a best-case scenario where there are lots of cache hits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task A general task
Projects
None yet
Development

No branches or pull requests

2 participants