Junit experts - how do you handle junit properties file in multimodule? As for now our project has hundreds of these files with same content. I was thinking to do symlinks with obvious limitations. But I'm reading that I need just one of it on the class path. Means, I probably can use our test library module with one file in it.
c
CLOVIS
07/21/2026, 2:07 PM
I haven't tested it, but yeah you should be able to create a micro-library module with the file in your resources and
testImplementation()
depend on it in all your real modules
e
Eugen Martynov
07/21/2026, 2:08 PM
Yeah, doing it and adding as testRuntimeOnly
Eugen Martynov
07/21/2026, 2:08 PM
Lucky we have convention plugins to apply it quickly to all modules
d
DanielZ
07/21/2026, 6:05 PM
exactly, we are doing same, defining a micro-library - works perfectly for us 😄