:question: Why is it not possible to specify a Lay...
# konsist
p
Why is it not possible to specify a Layer for an architecture assert by
..application..
and instead I need to specify
com.poisonedyouth.sample.application..
? The first one gives below exception:
Copy code
com.lemonappdev.konsist.core.exception.KoPreconditionFailedException: Layer application must be defined by package ending with '..'. Now: ..application.. .
	at com.lemonappdev.konsist.api.architecture.Layer.<init>(Layer.kt:19)
	at com.poisonedyouth.springhexagonalarchitecture.architecture.ArchitectureTest$dependencies of root packages are correct$1.invoke(ArchitectureTest.kt:13)
	at com.poisonedyouth.springhexagonalarchitecture.architecture.ArchitectureTest$dependencies of root packages are correct$1.invoke(ArchitectureTest.kt:12)
	at com.lemonappdev.konsist.core.architecture.KoArchitectureAssertionCore.instanceDependencyRules(KoArchitectureAssertionCore.kt:37)
	at com.lemonappdev.konsist.core.architecture.KoArchitectureAssertionCore.assertArchitecture(KoArchitectureAssertionCore.kt:11)
	at com.lemonappdev.konsist.api.architecture.KoArchitectureCreator.assertArchitecture(KoArchitectureCreator.kt)
p
Thanks for linking to an existing issue. I did not recognize this one.
🙌 1