0

My goal is simple: download an external file at build-time and include it in an SBT-packaged artifact.

I have been looking or a way to fetch data based on a URL and use the local File as the source in a Univeral / mapping (see sbt-native-packager Universal plugin).

Is it possible to make SBT (1.x) do this natively at all?

conny
  • 9,973
  • 6
  • 38
  • 47
  • 1
    Does this answer your question? [SBT task to download a file](https://stackoverflow.com/questions/55434130/sbt-task-to-download-a-file) – Gaël J Jul 12 '21 at 17:06
  • @GaëlJ great find! Leaving out the "task" keyword must have caused me to not find that question. It answers 90% of what I asked for, closing this. – conny Jul 13 '21 at 09:22

0 Answers0