That is cool, but I wanted something like: don't allow to import
com.example.controller.*
inside
com.example.model.*
s
SiebelsTim
08/20/2019, 6:01 PM
I guess you can basically achieve that using a multi-project build where you don't put the controller project in the model's project dependencies
j
jaguililla
08/20/2019, 6:19 PM
That is a nice approach, however I would prefer to achieve it in the same module. But seems to be hard to do out-of-the-box... I'm going to check Detekt custom rules