Until now creating Java modules was quite cumbersome and Gradle did only offer limited support through external plugins.
Finally with the release of Gradle 6.4 in May 2020 software developers can easily generate well-behaved Java modules. We had to wait almost three years for native support!
Support for modules is native in the Java plugin. You only need to add one configuration line. Start using Java modules and have language support to enforce modularity in your product.