Skip to content

Commit 334ddbb

Browse files
committed
fix eviction warning
1 parent 0c103b4 commit 334ddbb

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

build.sbt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ ThisBuild / developers := List(
2424
tlGitHubDev("ybasket", "Yannick Heiber")
2525
)
2626

27+
// Silence binary compatibility warnings for test-interface in Scala Native 0.5.x series
28+
// has to include _native suffix due to https://github.com/sbt/sbt/issues/7140
29+
ThisBuild / libraryDependencySchemes +=
30+
"org.scala-native" %% "test-interface_native0.5" % VersionScheme.Always
31+
2732
lazy val commonSettings = Seq(
2833
description := "Json diff/patch library",
2934
homepage := Some(url("https://github.com/gnieh/diffson"))
@@ -57,9 +62,7 @@ lazy val testkit = crossProject(JSPlatform, JVMPlatform, NativePlatform)
5762
.settings(commonSettings: _*)
5863
.settings(name := "diffson-testkit",
5964
libraryDependencies ++= Seq("org.scalatest" %%% "scalatest" % scalatestVersion,
60-
"org.scalacheck" %%% "scalacheck" % scalacheckVersion),
61-
// Silence binary compatibility warnings for test-interface in Scala Native 0.5.x series
62-
libraryDependencySchemes += "org.scala-native" % "test-interface_native0.5_2.13" % "always")
65+
"org.scalacheck" %%% "scalacheck" % scalacheckVersion))
6366
.dependsOn(core)
6467

6568
lazy val sprayJson = crossProject(JVMPlatform)

0 commit comments

Comments
 (0)