From 844fb602d36f2ffa3b98a674fd7d14c10bd54b23 Mon Sep 17 00:00:00 2001 From: Li Haoyi Date: Mon, 15 Apr 2024 08:35:43 +0800 Subject: [PATCH] Scala Native 0.5.0 Support (#569) --- .mill-version | 3 +-- build.sc | 14 +++++++++----- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.mill-version b/.mill-version index ecd2d5d92..26696041e 100644 --- a/.mill-version +++ b/.mill-version @@ -1,2 +1 @@ -0.11.6 - +0.11.7-29-f2e220 \ No newline at end of file diff --git a/build.sc b/build.sc index 60eff4992..8a42a474c 100644 --- a/build.sc +++ b/build.sc @@ -18,10 +18,10 @@ val scala212 = "2.12.18" val scala213 = "2.13.11" val scala3 = "3.3.1" -val scalaNative = "0.4.14" -val acyclic = "0.3.8" +val scalaNative = "0.5.0" +val acyclic = "0.3.9" -val sourcecode = "0.3.0" +val sourcecode = "0.4.0" val dottyCustomVersion = Option(sys.props("dottyVersion")) @@ -45,6 +45,10 @@ trait CommonPublishModule extends ScalaModule with PublishModule with Mima with CrossScalaModule { outer => def publishVersion = VcsVersion.vcsState().format() + def mimaReportBinaryIssues() = + if (this.isInstanceOf[ScalaNativeModule] || this.isInstanceOf[ScalaJSModule]) T.command() + else super.mimaReportBinaryIssues() + def mimaPreviousVersions = Seq( "3.0.0", "3.1.0", @@ -98,7 +102,7 @@ trait CommonPublishModule trait CommonTestModule0 extends ScalaModule with TestModule.Utest { def ivyDeps = { - Agg(ivy"com.lihaoyi::utest::0.8.1") ++ + Agg(ivy"com.lihaoyi::utest::0.8.3") ++ Option.when(!isScala3(scalaVersion()))(ivy"com.lihaoyi:::acyclic:$acyclic") } @@ -229,7 +233,7 @@ object ujson extends Module{ object upickle extends Module{ object core extends Module { trait CommonCoreModule extends CommonPublishModule { - def ivyDeps = Agg(ivy"com.lihaoyi::geny::1.0.0") + def ivyDeps = Agg(ivy"com.lihaoyi::geny::1.1.0") } object js extends Cross[CoreJsModule](scalaVersions)