Looking for Ktor/Gradle modular monolith example

Hi, I’m looking for an example project of a modular monolith in Gradle/Ktor.

Honestly, I’m not quite sure how to divide Gradle modules, should each module have Ktor in the implementation scope? How do I make it so that each module can create SQL queries on its own, but only have one, global connection to the database? How to make modules expose some kind of facade to each other? How to share DTOs? I come from Spring and Maven, so I’m not very familiar with Gradle and don’t know how to do it correctly. Is there an example project on GitHub?

submitted by /u/ComprehensiveBird720
[link] [comments]