mardi 21 avril 2015

How to make -Dsbt.override.build.repos=true global for SBT?

I want to override all repos even the ones introduced inadvertently in my build.sbt files so we can point to our proxy and have a common binary base for all the team. The option

$ sbt -Dsbt.override.build.repos=true

does the job but I'd like to make this option permanent. I've been looking at http://ift.tt/1DyY4Pf but I don't know how to translate that option to the global.sbt file they mention.

How would you configure that option globally?

Aucun commentaire:

Enregistrer un commentaire