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

Mustafa Ozhan

11/05/2023, 6:04 PM
Hello 👋 I have an interesting case that 4 different gradle projects that has been added into my app with git submodules and since they are shared I have different conventions for them is there any way to differentiate them? Or exclude them from
Konsist.scopeFromProject()
?
i

igor.wojda

11/05/2023, 6:06 PM
You can create smaller scopes e.g from dir or module https://docs.konsist.lemonappdev.com/writing-tests/koscope
👀 1
Scope can be also saved to the variable and composed/subtracted You will find all of the information in the above link. Konsist API is quite flexible when comes to scope creation, so it should handle all of your cases.