Skip to content

Instantly share code, notes, and snippets.

@dacr
Last active April 2, 2023 10:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dacr/636efcb8bb619ec18483e113d9d5b64a to your computer and use it in GitHub Desktop.
Save dacr/636efcb8bb619ec18483e113d9d5b64a to your computer and use it in GitHub Desktop.
Customize ammonite repositories. / published by https://github.com/dacr/code-examples-manager #5a381204-38dd-48eb-82ab-3bfc1ea42b43/470d2f323abe51005c9ab9f975c0b404adb19b9b
// summary : Customize ammonite repositories.
// keywords : scala, ammonite, repositories
// publish : gist
// authors : David Crosson
// license : Apache NON-AI License Version 2.0 (https://raw.githubusercontent.com/non-ai-licenses/non-ai-licenses/main/NON-AI-APACHE2)
// id : 5a381204-38dd-48eb-82ab-3bfc1ea42b43
// created-on : 2020-05-31T19:54:52Z
// managed-by : https://github.com/dacr/code-examples-manager
// execution : scala ammonite script (http://ammonite.io/) - run as follow 'amm scriptname.sc'
// ---- The following lines can be placed into : ~/.ammonite/predef.sc
import coursierapi.MavenRepository
interp.repositories() ++= Seq( // Or just = to override default settings
MavenRepository.of("http://dl.bintray.com/orange-opensource/maven")
)
// ---- end of content for ~/.ammonite/predef.sc
@
import $ivy.`com.orange.common:orange-mathoms-logging:1.0.2`
println("ok")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment