Karlo Lozovina
09/08/2021, 1:21 PMRob Elliot
09/08/2021, 1:31 PMui
should not depend on public elements in package db
(or worse, the other way around!). Nor to prevent circular dependencies between packages.
By making them Gradle subprojects you can use Gradle’s dependency mechanism to constrain yourself to non-circular dependencies, and if you have to add implementation(project.ui)
to `db`’s build.gradle.kts
to make it compile that’s a really obvious sign that something needs fixing.Rob Elliot
09/08/2021, 1:40 PMjdepend
to introspect the dependencies between packages and fail the build if there are illegal dependencies, using a custom dependency declaration file. But the IDE knew nothing of it, so the feedback was painfully late.)christophsturm
09/08/2021, 1:45 PMKarlo Lozovina
09/08/2021, 1:45 PMKarlo Lozovina
09/08/2021, 1:46 PMRob Elliot
09/08/2021, 1:50 PMkotlinc
should be able to use the module graph to work out which modules can be compiled in parallel…
Don’t even know how trivial it is to have multiple modules in the same git project. I’m still a bit green on them.christophsturm
09/08/2021, 5:13 PMTomasz Krakowiak
09/09/2021, 6:08 AMKarlo Lozovina
09/16/2021, 8:41 PM