@@ -7,14 +7,18 @@ import com.github.lolgab.mill.mima._
77val dottyCommunityBuildVersion = sys.props.get(" dottyVersion" ).toList
88
99val scalaVersions =
10- Seq (" 2.12.16" , " 2.13.8" , " 2.11.12 " , " 3.1.3 " ) ++ dottyCommunityBuildVersion
10+ Seq (" 2.12.16" , " 2.13.8" , " 3. 3.1" ) ++ dottyCommunityBuildVersion
1111
1212trait PPrintModule
1313 extends CrossScalaModule with PublishModule with PlatformScalaModule with Mima {
1414 def publishVersion = VcsVersion .vcsState().format()
1515
1616 def mimaPreviousVersions = Seq (" 0.7.3" , " 0.8.0" ) ++ VcsVersion .vcsState().lastTag.toSeq
1717
18+ def mimaReportBinaryIssues () =
19+ if (this .isInstanceOf [ScalaNativeModule ] || this .isInstanceOf [ScalaJSModule ]) T .command()
20+ else super .mimaReportBinaryIssues()
21+
1822 def pomSettings = PomSettings (
1923 description = artifactName(),
2024 organization = " com.lihaoyi" ,
@@ -30,8 +34,8 @@ trait PPrintModule
3034 )
3135
3236 def ivyDeps = Agg (
33- ivy " com.lihaoyi::fansi::0.4 .0 " ,
34- ivy " com.lihaoyi::sourcecode::0.3 .0 "
37+ ivy " com.lihaoyi::fansi::0.5 .0 " ,
38+ ivy " com.lihaoyi::sourcecode::0.4 .0 "
3539 )
3640
3741 def compileIvyDeps = Agg .when(crossScalaVersion.startsWith(" 2" ))(
@@ -42,7 +46,7 @@ trait PPrintModule
4246
4347
4448trait PPrintTestModule extends ScalaModule with TestModule .Utest {
45- def ivyDeps = Agg (ivy " com.lihaoyi::utest::0.8.0 " )
49+ def ivyDeps = Agg (ivy " com.lihaoyi::utest::0.8.3 " )
4650}
4751
4852object pprint extends Module {
@@ -53,13 +57,13 @@ object pprint extends Module {
5357
5458 object js extends Cross [JsPPrintModule ](scalaVersions)
5559 trait JsPPrintModule extends PPrintModule with ScalaJSModule {
56- def scalaJSVersion = " 1.10.1 "
60+ def scalaJSVersion = " 1.12.0 "
5761 object test extends ScalaJSTests with PPrintTestModule
5862 }
5963
6064 object native extends Cross [NativePPrintModule ](scalaVersions)
6165 trait NativePPrintModule extends PPrintModule with ScalaNativeModule {
62- def scalaNativeVersion = " 0.4.5 "
66+ def scalaNativeVersion = " 0.5.0 "
6367 object test extends ScalaNativeTests with PPrintTestModule
6468 }
6569}
0 commit comments