Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaoyi committed Apr 15, 2024
1 parent a03b76e commit 1e42c87
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 9 deletions.
3 changes: 1 addition & 2 deletions .mill-version
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
0.11.0

0.11.7-29-f2e220
12 changes: 6 additions & 6 deletions build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import com.github.lolgab.mill.mima._
val dottyCommunityBuildVersion = sys.props.get("dottyVersion").toList

val scalaVersions =
Seq("2.12.16", "2.13.8", "2.11.12", "3.1.3") ++ dottyCommunityBuildVersion
Seq("2.12.16", "2.13.8", "3.3.1") ++ dottyCommunityBuildVersion

trait PPrintModule
extends CrossScalaModule with PublishModule with PlatformScalaModule with Mima {
Expand All @@ -30,8 +30,8 @@ trait PPrintModule
)

def ivyDeps = Agg(
ivy"com.lihaoyi::fansi::0.4.0",
ivy"com.lihaoyi::sourcecode::0.3.0"
ivy"com.lihaoyi::fansi::0.5.0",
ivy"com.lihaoyi::sourcecode::0.4.0"
)

def compileIvyDeps = Agg.when(crossScalaVersion.startsWith("2"))(
Expand All @@ -42,7 +42,7 @@ trait PPrintModule


trait PPrintTestModule extends ScalaModule with TestModule.Utest {
def ivyDeps = Agg(ivy"com.lihaoyi::utest::0.8.0")
def ivyDeps = Agg(ivy"com.lihaoyi::utest::0.8.3")
}

object pprint extends Module {
Expand All @@ -53,13 +53,13 @@ object pprint extends Module {

object js extends Cross[JsPPrintModule](scalaVersions)
trait JsPPrintModule extends PPrintModule with ScalaJSModule {
def scalaJSVersion = "1.10.1"
def scalaJSVersion = "1.12.0"
object test extends ScalaJSTests with PPrintTestModule
}

object native extends Cross[NativePPrintModule](scalaVersions)
trait NativePPrintModule extends PPrintModule with ScalaNativeModule {
def scalaNativeVersion = "0.4.5"
def scalaNativeVersion = "0.5.0"
object test extends ScalaNativeTests with PPrintTestModule
}
}
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.2.8
sbt.version=1.3.8
9 changes: 9 additions & 0 deletions readme/Readme.scalatex
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,15 @@
display.block
)
@sect{Version History}
@sect{0.9.0}
@ul
@li
Support for Scala-Native 0.5.0
@li
Dropped support for Scala 2.11.x
@li
Minimum version of Scala 3 increased to 3.3.1

@sect{0.7.3}
@ul
@li
Expand Down

0 comments on commit 1e42c87

Please sign in to comment.