1
1
import mill ._
2
2
import mill .scalalib .publish .{Developer , License , PomSettings , VersionControl }
3
3
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 `
5
5
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 `
7
7
import com .github .lolgab .mill .mima ._
8
8
9
- val dottyVersion = Option ( sys.props(" dottyVersion" ) )
9
+ val dottyVersion = sys.props.get (" dottyVersion" )
10
10
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 : _* )
12
14
class RequestsModule (val crossScalaVersion : String ) extends CrossScalaModule with PublishModule with Mima {
13
15
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
15
17
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" )
17
20
)
18
21
def artifactName = " requests"
19
22
def pomSettings = PomSettings (
@@ -27,7 +30,7 @@ class RequestsModule(val crossScalaVersion: String) extends CrossScalaModule wit
27
30
)
28
31
)
29
32
def ivyDeps = Agg (
30
- ivy " com.lihaoyi::geny::0.6.10 "
33
+ ivy " com.lihaoyi::geny::1.0.0 "
31
34
)
32
35
object test extends Tests with TestModule .Utest {
33
36
def ivyDeps = Agg (
0 commit comments