1
+ //| mill-version: 1.0.0
2
+ //| mvnDeps:
3
+ //| - com.github.lolgab::mill-mima_mill1:0.2.0
1
4
package build
2
5
3
6
import mill._
4
7
import scalalib._
5
8
import scalanativelib._
6
9
import mill.scalalib.publish.{Developer, License, PomSettings, VersionControl}
7
10
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.util.VcsVersion
12
12
import com.github.lolgab.mill.mima._
13
13
14
14
val scalaNextVersion = sys.props.get("scalaNextVersion")
@@ -40,19 +40,19 @@ trait RequestsPublishModule extends PublishModule with MimaCheck {
40
40
)
41
41
)
42
42
43
- def ivyDeps = Agg(ivy "com.lihaoyi::geny::1.1.1")
43
+ def mvnDeps = Seq(mvn "com.lihaoyi::geny::1.1.1")
44
44
}
45
45
46
46
trait 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")
49
49
}
50
50
51
51
trait 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 = Seq (
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"
56
56
)
57
57
}
58
58
@@ -65,8 +65,8 @@ object requests extends Module {
65
65
// trait RequestsNativeModule extends ScalaNativeModule with RequestsPublishModule {
66
66
// override def scalaNativeVersion = scalaNativeVer
67
67
//
68
- // def ivyDeps =
69
- // super.ivyDeps () ++ Agg(ivy "com.github.lolgab::scala-native-crypto::0.1.0")
68
+ // def mvnDeps =
69
+ // super.mvnDeps () ++ Seq(mvn "com.github.lolgab::scala-native-crypto::0.1.0")
70
70
//
71
71
// object test extends ScalaNativeTests with RequestsTestModule
72
72
// }
0 commit comments