Skip to content

Commit fa319a3

Browse files
authored
0.9.0 (#128)
Support for Scala Native 0.5.0
1 parent a03b76e commit fa319a3

File tree

4 files changed

+21
-9
lines changed

4 files changed

+21
-9
lines changed

.mill-version

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
0.11.0
2-
1+
0.11.7-29-f2e220

build.sc

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,18 @@ import com.github.lolgab.mill.mima._
77
val dottyCommunityBuildVersion = sys.props.get("dottyVersion").toList
88

99
val 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

1212
trait 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

4448
trait 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

4852
object 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
}

project/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=1.2.8
1+
sbt.version=1.9.7

readme/Readme.scalatex

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,15 @@
258258
display.block
259259
)
260260
@sect{Version History}
261+
@sect{0.9.0}
262+
@ul
263+
@li
264+
Support for Scala-Native 0.5.0
265+
@li
266+
Dropped support for Scala 2.11.x
267+
@li
268+
Minimum version of Scala 3 increased to 3.3.1
269+
261270
@sect{0.7.3}
262271
@ul
263272
@li

0 commit comments

Comments
 (0)