11import mill ._
22import mill .scalalib .publish .{Developer , License , PomSettings , VersionControl }
33import 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 `
55import 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 `
77import 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 : _* )
1214class 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 (
0 commit comments