Hi folks :wave: Dropping by here after the talk a...
# konsist
s
Hi folks 👋 Dropping by here after the talk at Kotlin Conf. Is there a way to assert that one layer does not depend on another layer? Ideally, I would like to do something like this.
Copy code
Konsist
    .scopeFromProject()
    .assertArchitecture {
        // Assert architecture
        val v2 = Layer("v2", "com.example.v2..")
        val v1 = Layer("v1","com.example.v1.." )

        v2.doesNotDependOn(v1)
    }
i
This is a good point. There is now way ATM, but we will add this soon.
❤️ 1
I have created a ticket to track this: https://lemonappdev.atlassian.net/browse/KON-623
s
Amazing! I was just about to ask. Thank you.