1

I am trying to build SBT project where I am pulling dependencies from internal repository. I followed this post to set repo.properties & stbconfig.txt. Here is the content of these files-
stbconfix.txt - enter image description here

repo.properties-

enter image description here

After all above steps, SBT should have automatically pulled dependencies from internal repository but it isn't. After that, I am trying to pass repo.properties path in command line but it is throwing error too- enter image description here

No idea why it is complaining with invalid system property for 'sbt.repository.config'. Any help is very much appreciated.

Note- I tried upgrading SBT and installed it 2-3 times. I am currently on SBT 0.13.13.

Community
  • 1
  • 1
nil
  • 563
  • 5
  • 8

1 Answers1

0

Try adding the required property to SBT_OPTS environment variable before running sbt:

SET SBT_OPTS=-Dsbt.repository.config="your repo.properties path here"
sbt
ps_ttf
  • 1,096
  • 7
  • 15