https://kotlinlang.org logo
#konsist
Title
# konsist
m

MJ

11/20/2023, 11:17 AM
Hi there 👋 When upgrading from konsist 0.11.0 to 0.13.0 I have found the sample from the android-showcase repo stops working. Originally the domain surrounded by two dot’s does not work for the
Layer
anymore since in 0.13.0 it is checked by the matcher rather then by checking how the string ends.
Copy code
val packagePrefix = "com.igorwojda.showcase"
 val domain = Layer("Domain", "$packagePrefix..domain..")
Is there any way in the 0.13.0 how we can address also multiple modules/packages by just one rule as it is addressed in the mentioned example? 🤔 My point is to
write one 'correct dependencies' test
to be
applied for multiple modules
(i.e. _feature_favourite_, _feature_profile_, etc.) Thank you for any advice.
d

David Kurzica

11/20/2023, 10:58 PM
I believe that this is a bug. I have reported something similar here: https://github.com/LemonAppDev/konsist/discussions/765
❤️ 2
4 Views