Skip to content

Commit 4be9845

Browse files
committed
.
1 parent cf41094 commit 4be9845

File tree

3 files changed

+307
-48
lines changed

3 files changed

+307
-48
lines changed

.mill-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

build.mill

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1+
//| mill-version: 1.0.0-RC1
2+
//| mvnDeps:
3+
//| - com.github.lolgab::mill-mima_mill1.0.0-RC1:0.2.0-M1
14
package build
25

36
import mill._
47
import scalalib._
58
import scalanativelib._
69
import 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
1212
import com.github.lolgab.mill.mima._
1313

1414
val 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

4646
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")
4949
}
5050

5151
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 = 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

Comments
 (0)