GitHub - jjohannes/idiomatic-gradle: How to idiomatically structure a large build with Gradle 8 or Gradle 9

How to idiomatically structure a large build with Gradle 8 or Gradle 9 - jjohannes/idiomatic-gradle

GitHub

Happy to have the opportunity to talk about the 'Recipe for Carefree Dependency Administration' in Java projects - https://javarca.de - at JavaLand next year (March 10./11. 2026).

The full conference agenda is now online. Many interesting topics.

https://meine.doag.org/events/javaland/2026/agenda/#agendaId.6927

#Java #Gradle #Maven #JPMS #JavaLand #JavaLand2026

Update 3rd-party open-source modules to their latest release regularly to stay out of trouble. Establish a too-supported process for that in you team.

โ˜•๏ธ JAVA
๐Ÿ“œ Recipe for
๐ŸŒป Carefree dependency
๐Ÿ“š Administration

6๏ธโƒฃ Update Dependencies
โ–ถ๏ธ https://www.youtube.com/watch?v=kg8TpiYZvvU&list=PLWQK2ZdV4Yl2bV3dTE7qxJUhjV8a1uriD

๐Ÿ‘‰ https://javarca.de

#Java #Gradle #Maven #JPMS

Don't let your well-structured module and dependency setup decay. Put sufficient checks in place to keep dependency definitions consistent with code changes.

โ˜•๏ธ JAVA
๐Ÿ“œ Recipe for
๐ŸŒป Carefree dependency
๐Ÿ“š Administration

5๏ธโƒฃ Dependency Analysis
โ–ถ๏ธ https://www.youtube.com/watch?v=i9Vf39vme_w&list=PLWQK2ZdV4Yl2bV3dTE7qxJUhjV8a1uriD

๐Ÿ‘‰ https://javarca.de

#Java #Gradle #Maven #JPMS

I have seen many build setups in the past years. Uninformed dependency conflict management is in the top three of "things messing up a Java build configuration".

Conflict handling is part of the game if you want to profit from reusing open-source libraries/frameworks.

Do better. The investment will be worth it.

โ˜•๏ธ JAVA
๐Ÿ“œ Recipe for
๐ŸŒป Carefree dependency
๐Ÿ“š Administration

4๏ธโƒฃ Dealing with Conflicts
โ–ถ๏ธ https://www.youtube.com/watch?v=2tJxmci4VCg&list=PLWQK2ZdV4Yl2bV3dTE7qxJUhjV8a1uriD

๐Ÿ‘‰ https://javarca.de

#Java #Gradle #Maven #JPMS

You use Gradle or Maven for 2 things:
1) manage 3rd party dependencies
2) building your software

๐Ÿšจ Don't mix! ๐Ÿšจ

โ˜•๏ธ JAVA
๐Ÿ“œ Recipe for
๐ŸŒป Carefree dependency
๐Ÿ“š Administration

3๏ธโƒฃ Don't mix with build configuration
โ–ถ๏ธ https://www.youtube.com/watch?v=CWgFD0bO6-8&list=PLWQK2ZdV4Yl2bV3dTE7qxJUhjV8a1uriD

๐Ÿ‘‰ https://javarca.de

#Java #Gradle #Maven #JPMS

โ˜•๏ธ JAVA
๐Ÿ“œ Recipe for
๐ŸŒป Carefree dependency
๐Ÿ“š Administration

2๏ธโƒฃ Version Management in a dedicated file
โ–ถ๏ธ https://www.youtube.com/watch?v=0mpw4edHFrg&list=PLWQK2ZdV4Yl2bV3dTE7qxJUhjV8a1uriD

๐Ÿ‘‰ https://javarca.de

#Java #Gradle #Maven #JPMS

โ˜•๏ธ JAVA
๐Ÿ“œ Recipe for
๐ŸŒป Carefree dependency
๐Ÿ“š Administration

1๏ธโƒฃ Define Dependencies between Modules in dedicated files
โ–ถ๏ธ https://www.youtube.com/watch?v=rEA-QfhdSPo&list=PLWQK2ZdV4Yl2bV3dTE7qxJUhjV8a1uriD

๐Ÿ‘‰ https://javarca.de

#Java #Gradle #Maven #JPMS

This is not a new tool or idea, but a set of good practices explained in a tool-independent way. I want to make the topic more approachable to Java newcomers, since most info on this is currently quite confusing.

For the talk, I built a special presentation app that lets me switch tools and highlight the important bits.

Iโ€™d love to share this at more events in Europe โ€” suggestions welcome! An online video series is planned for later this year.

#Java #Gradle #Maven #JPMS

How to do better Dependency Management in modern Java?

โ˜•๏ธ JAVA
๐Ÿ“œ Recipe for
๐ŸŒป Carefree dependency
๐Ÿ“š Administration

๐Ÿ‘‰ https://javarca.de

๐Ÿ“ฃ I'll talk about it:

July 10th - Stuttgart @jugstuttgart
https://www.java-forum-stuttgart.de/vortraege/unbeschwertes-dependency-management-fuer-java-projekte

Sep 16th - Hannover @JavaForumNord
https://javaforumnord.de/2025/programm/#:~:text=Jendrik%20Johannes

๐Ÿ‘พ If you clone, build, run the example (see: Explore > Readme) you get to play a little game. The high score is 3680, held by my son (and game tester)

#Java #Gradle #Maven #JPMS