https://pantsbuild.org/ logo
#general
Title
# general
i

important-policeman-13818

03/12/2021, 7:51 AM
Hey folks! I’m not sure what’s the right place to ask questions. So I’ll repost here too.
w

witty-crayon-22786

03/12/2021, 5:27 PM
If you don't need to manipulate the files at all before adding them, you should be able to define them in a
resources
target in the correct layout and depend on it.
i

important-policeman-13818

03/15/2021, 6:46 AM
resources
puts files inside a package directory (e.g. com/foo/bar), but
META-INF
has to be inside the jar root.
w

witty-crayon-22786

03/15/2021, 4:28 PM
@important-policeman-13818: with a layout like:
src/resources/META-INF/etc/etc
they can be placed inside the META-INF directory
ie, a META-INF directory at the root of a source root
i

important-policeman-13818

03/16/2021, 7:12 AM
Got it. Thank you!
3 Views