brief-engineer-67497
12/06/2018, 4:51 PMresources
folder containing two files :
- BUILD
- foo.txt
BUILD declare a simple target:
resources(
sources=rglobs('*'),
)
previously my code was able to access to the resources doing getClass().getResource("foo.txt")
, but builded with pants I need to do getClass().getResource("resources/foo.txt")
. Is this normal ?