1+ //| mill-version: 1.0.0-RC1
2+ //| mvnDeps:
3+ //| - com.github.lolgab::mill-mima_mill1.0.0-RC1:0.2.0-M1
14package build
25
36import mill._
47import scalalib._
58import scalanativelib._
69import mill.scalalib.publish.{Developer, License, PomSettings, VersionControl}
710
8- import $ivy.`de.tototec::de.tobiasroeser.mill.vcs.version::0.4.1`
9- import $ivy.`com.github.lolgab::mill-mima::0.0.24`
10- 
11- import de.tobiasroeser.mill.vcs.version.VcsVersion
11+ import mill.main.VcsVersion
1212import com.github.lolgab.mill.mima._
1313
1414val scalaNextVersion = sys.props.get("scalaNextVersion")
@@ -40,19 +40,19 @@ trait RequestsPublishModule extends PublishModule with MimaCheck {
4040    )
4141  )
4242
43-   def ivyDeps  = Agg(ivy "com.lihaoyi::geny::1.1.1")
43+   def mvnDeps  = Agg(mvn "com.lihaoyi::geny::1.1.1")
4444}
4545
4646trait RequestsCrossScalaModule extends CrossScalaModule with ScalaModule {
47-   def millSourcePath  = build.millSourcePath  / "requests"
48-   def sources = T.sources(millSourcePath /  "src")
47+   def moduleDir  = build.moduleDir  / "requests"
48+   def sources = Task.Sources( "src")
4949}
5050
5151trait RequestsTestModule extends TestModule.Utest {
52-   def ivyDeps  = Agg(
53-     ivy "com.lihaoyi::utest::0.7.10",
54-     ivy "com.lihaoyi::ujson::1.3.13",
55-     ivy "com.dimafeng::testcontainers-scala-core:0.41.3"
52+   def mvnDeps  = Agg(
53+     mvn "com.lihaoyi::utest::0.7.10",
54+     mvn "com.lihaoyi::ujson::1.3.13",
55+     mvn "com.dimafeng::testcontainers-scala-core:0.41.3"
5656  )
5757}
5858
@@ -65,8 +65,8 @@ object requests extends Module {
6565  // trait RequestsNativeModule extends ScalaNativeModule with RequestsPublishModule {
6666  //   override def scalaNativeVersion = scalaNativeVer
6767  //
68-   //   def ivyDeps  =
69-   //     super.ivyDeps () ++ Agg(ivy "com.github.lolgab::scala-native-crypto::0.1.0")
68+   //   def mvnDeps  =
69+   //     super.mvnDeps () ++ Agg(mvn "com.github.lolgab::scala-native-crypto::0.1.0")
7070  //
7171  //   object test extends ScalaNativeTests with RequestsTestModule
7272  // }
0 commit comments