Last active
February 3, 2026 20:23
-
-
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/dda1d7baf81d41a3714be082ed761080d91594bd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // summary : Customize ammonite repositories. | |
| // keywords : scala, ammonite, repositories | |
| // publish : gist | |
| // authors : David Crosson | |
| // license : Apache License Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) | |
| // 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