Ksawery Karwacki
10/18/2024, 9:07 PMjava-test-fixtures adds dependency to jar task so when running tests when my class tries to get resources root path it gets it like this:
jar:file:/C:/Users/ksawery.karwacki/git/PA/calculate/build/libs/calculate.jar!/builtins/flow
instead of doing it like this:
file:/C:/Users/ksawery.karwacki/git/PA/calculate/build/resources/main/builtins/flow
Which causes tests to fail. Not sure if my resources lookup is bad, but removing test-fixtures restores everything to work properly again.Vampire
10/18/2024, 11:07 PM