Scala SBT FAQ: How do I put SBT into "offline mode" so I can use it while working on an airplane, or any other location where I don't have a WiFi connection?
Use this setting at the SBT command prompt:
> set offline := true
Warning: I honestly don't know how well this works. I have tried it a few times, and I know it prints out a ton of output, but I haven't paid attention to all that output to see exactly what it does.
To reverse the setting, just change it to false instead of true: