Skip to content

Commit

Permalink
Scala Native 0.5.0 Support (#569)
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaoyi authored Apr 15, 2024
1 parent 153efbd commit 844fb60
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
3 changes: 1 addition & 2 deletions .mill-version
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
0.11.6

0.11.7-29-f2e220
14 changes: 9 additions & 5 deletions build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -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"))

Expand All @@ -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",
Expand Down Expand Up @@ -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")
}

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 844fb60

Please sign in to comment.