Skip to content

Commit 7fbb5ac

Browse files
authored
Update geny to 1.0.0 (#120)
- Update Mill to 0.10.10 - Update Scala versions
1 parent 6d4a223 commit 7fbb5ac

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

.mill-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0.10.10

build.sc

+10-7
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,22 @@
11
import mill._
22
import mill.scalalib.publish.{Developer, License, PomSettings, VersionControl}
33
import scalalib._
4-
import $ivy.`de.tototec::de.tobiasroeser.mill.vcs.version::0.1.4`
4+
import $ivy.`de.tototec::de.tobiasroeser.mill.vcs.version::0.3.0`
55
import de.tobiasroeser.mill.vcs.version.VcsVersion
6-
import $ivy.`com.github.lolgab::mill-mima::0.0.10`
6+
import $ivy.`com.github.lolgab::mill-mima::0.0.13`
77
import com.github.lolgab.mill.mima._
88

9-
val dottyVersion = Option(sys.props("dottyVersion"))
9+
val dottyVersion = sys.props.get("dottyVersion")
1010

11-
object requests extends Cross[RequestsModule]((List("2.12.13", "2.13.5", "2.11.12", "3.0.0") ++ dottyVersion): _*)
11+
val scalaVersions = List("2.12.17", "2.13.10", "2.11.12", "3.1.1") ++ dottyVersion
12+
13+
object requests extends Cross[RequestsModule](scalaVersions: _*)
1214
class RequestsModule(val crossScalaVersion: String) extends CrossScalaModule with PublishModule with Mima {
1315
def publishVersion = VcsVersion.vcsState().format()
14-
def mimaPreviousVersions = Seq("0.7.0") ++ VcsVersion.vcsState().lastTag.toSeq
16+
def mimaPreviousVersions = (Seq("0.7.0", "0.7.1") ++ VcsVersion.vcsState().lastTag.toSeq).distinct
1517
override def mimaBinaryIssueFilters = Seq(
16-
ProblemFilter.exclude[ReversedMissingMethodProblem]("requests.BaseSession.send")
18+
ProblemFilter.exclude[ReversedMissingMethodProblem]("requests.BaseSession.send"),
19+
ProblemFilter.exclude[DirectMissingMethodProblem]("requests.Response.string")
1720
)
1821
def artifactName = "requests"
1922
def pomSettings = PomSettings(
@@ -27,7 +30,7 @@ class RequestsModule(val crossScalaVersion: String) extends CrossScalaModule wit
2730
)
2831
)
2932
def ivyDeps = Agg(
30-
ivy"com.lihaoyi::geny::0.6.10"
33+
ivy"com.lihaoyi::geny::1.0.0"
3134
)
3235
object test extends Tests with TestModule.Utest {
3336
def ivyDeps = Agg(

mill

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# This is a wrapper script, that automatically download mill from GitHub release pages
44
# You can give the required mill version with MILL_VERSION env variable
55
# If no version is given, it falls back to the value of DEFAULT_MILL_VERSION
6-
DEFAULT_MILL_VERSION=0.10.4
6+
DEFAULT_MILL_VERSION=0.10.10
77

88
set -e
99

0 commit comments

Comments
 (0)