Last active
April 2, 2023 10:10
-
-
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
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 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