Skip to content

Commit

Permalink
Update internal Mill to 0.10 (#40)
Browse files Browse the repository at this point in the history
* Update internal Mill to 0.10

* Fix deprecation warning
  • Loading branch information
lolgab authored Apr 2, 2022
1 parent 0ec3ad0 commit 2b76117
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .mill-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.9.11
0.10.2
8 changes: 4 additions & 4 deletions build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ import mill.scalalib._
import mill.scalalib.api.Util.scalaNativeBinaryVersion
import mill.scalalib.publish._
import $ivy.`com.lihaoyi::mill-contrib-bloop:$MILL_VERSION`
import $ivy.`de.tototec::de.tobiasroeser.mill.integrationtest_mill0.9:0.4.1-16-63f11c`
import $ivy.`de.tototec::de.tobiasroeser.mill.integrationtest::0.5.0`
import de.tobiasroeser.mill.integrationtest._
import $ivy.`com.goyeau::mill-scalafix:0.2.5`
import $ivy.`com.goyeau::mill-scalafix::0.2.8`
import com.goyeau.mill.scalafix.ScalafixModule
import $ivy.`de.tototec::de.tobiasroeser.mill.vcs.version_mill0.9:0.1.1`
import $ivy.`de.tototec::de.tobiasroeser.mill.vcs.version::0.1.4`
import de.tobiasroeser.mill.vcs.version.VcsVersion
import $ivy.`com.github.lolgab::mima_mill0.9:0.0.1`
import $ivy.`com.github.lolgab::mill-mima::0.0.9`
import com.github.lolgab.mill.mima._
import os.Path

Expand Down
2 changes: 1 addition & 1 deletion mill
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# This is a wrapper script, that automatically download mill from GitHub release pages
# You can give the required mill version with MILL_VERSION env variable
# If no version is given, it falls back to the value of DEFAULT_MILL_VERSION
DEFAULT_MILL_VERSION=0.9.8
DEFAULT_MILL_VERSION=0.10.2

set -e

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package com.github.lolgab.mill.mima.internal

private[mima] object Utils {
def scalaBinaryVersion(version: String): String = {
mill.scalalib.api.ZincWorkerUtil.scalaBinaryVersion(version)
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package com.github.lolgab.mill.mima.internal

private[mima] object Utils {
def scalaBinaryVersion(version: String): String = {
mill.scalalib.api.Util.scalaBinaryVersion(version)
}
}
2 changes: 1 addition & 1 deletion mill-mima/src/com/github/lolgab/mill/mima/MimaBase.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package com.github.lolgab.mill.mima

import scala.util.chaining._

import com.github.lolgab.mill.mima.internal.Utils.scalaBinaryVersion
import com.typesafe.tools.mima.core.MyProblemReporting
import com.typesafe.tools.mima.core.Problem
import com.typesafe.tools.mima.core.ProblemFilters
Expand All @@ -12,7 +13,6 @@ import mill.api.Result
import mill.define.Command
import mill.define.Target
import mill.scalalib._
import mill.scalalib.api.Util.scalaBinaryVersion

private[mima] trait MimaBase
extends ScalaModule
Expand Down

0 comments on commit 2b76117

Please sign in to comment.