Skip to content

Commit

Permalink
chore(deps): update various version (#19)
Browse files Browse the repository at this point in the history
This pr updates the following:

- Scala 2.13 to the latest 2.13.10
- mill-integrationtest to 0.6.1
- mill.vcs.version to 0.3.0 and remove the stripping of v (done by
  default now)
- Mill to latest 0.10.8 with a .mill-version file
  • Loading branch information
ckipp01 authored Jan 11, 2023
1 parent 22bf7db commit 8f18079
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .mill-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.10.8
10 changes: 5 additions & 5 deletions build.sc
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
import $ivy.`de.tototec::de.tobiasroeser.mill.integrationtest::0.6.0`
import $ivy.`de.tototec::de.tobiasroeser.mill.integrationtest::0.6.1`
import de.tobiasroeser.mill.integrationtest._
import $ivy.`de.tototec::de.tobiasroeser.mill.vcs.version::0.1.4`
import $ivy.`de.tototec::de.tobiasroeser.mill.vcs.version::0.3.0`
import de.tobiasroeser.mill.vcs.version.VcsVersion
import mill._
import mill.scalalib._
import mill.scalalib.api.Util.scalaNativeBinaryVersion
import publish._

val millVersions = Seq("0.10.5", "0.9.12")
val millVersions = Seq("0.10.8", "0.9.12")
def millBinaryVersion(millVersion: String) = scalaNativeBinaryVersion(millVersion)

object `mill-tpolecat` extends Cross[MillTpolecatCross](millVersions: _*)
class MillTpolecatCross(millVersion: String) extends CrossModuleBase with PublishModule {
override def crossScalaVersion = "2.13.7"
override def crossScalaVersion = "2.13.10"
override def artifactSuffix = s"_mill${millBinaryVersion(millVersion)}" + super.artifactSuffix()

def compileIvyDeps = Agg(ivy"com.lihaoyi::mill-scalalib:$millVersion")

def publishVersion: T[String] = VcsVersion.vcsState().format(tagModifier = _.dropWhile(_ == 'v'))
def publishVersion: T[String] = VcsVersion.vcsState().format()

def pomSettings = PomSettings(
description = "scalac options for the enlightened",
Expand Down

0 comments on commit 8f18079

Please sign in to comment.