diff options
author | Olivier Mélois <baccata64@gmail.com> | 2019-07-08 10:33:31 +0200 |
---|---|---|
committer | Tobias Roeser <le.petit.fou@web.de> | 2019-07-08 10:33:31 +0200 |
commit | fe8667d58aef03e8b97c1361495ab5d851deee60 (patch) | |
tree | a652df66b0d873f0635b2f6a55122195e9412a3a /scalalib/test | |
parent | 83aa7de17bf175ce64869f70c54de3882e047a1f (diff) | |
download | mill-fe8667d58aef03e8b97c1361495ab5d851deee60.tar.gz mill-fe8667d58aef03e8b97c1361495ab5d851deee60.tar.bz2 mill-fe8667d58aef03e8b97c1361495ab5d851deee60.zip |
Interpolates $MILL_VERSION in ivy imports (#649)
* Interpolates $MILL_VERSION in ivy imports
This overrides the default $ivy magic import by replacing the
`$MILL_VERSION` string with mill's version, in order to facilitate
the loading/update of contrib modules.
Ammonite had to be bumped to 1.6.9
* Removed bloop import
* AmmoniteExit import fix
* Removed repl dep check
* Removed problematic check
* Made ammonite version override-able
Diffstat (limited to 'scalalib/test')
-rw-r--r-- | scalalib/test/src/HelloWorldTests.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scalalib/test/src/HelloWorldTests.scala b/scalalib/test/src/HelloWorldTests.scala index 57750991..d74d7d64 100644 --- a/scalalib/test/src/HelloWorldTests.scala +++ b/scalalib/test/src/HelloWorldTests.scala @@ -212,6 +212,7 @@ object HelloWorldTests extends TestSuite { object foo extends ScalaModule { def scalaVersion = "2.11.8" override def scalaOrganization = "org.typelevel" + override def ammoniteVersion = "1.6.7" def ivyDeps = Agg( ivy"com.github.julien-truffaut::monocle-macro::1.4.0" @@ -241,7 +242,7 @@ object HelloWorldTests extends TestSuite { object HelloWorldFlags extends HelloBase{ object core extends ScalaModule { def scalaVersion = "2.12.4" - + def scalacOptions = super.scalacOptions() ++ Seq( "-Ypartial-unification" ) |