diff --git a/build.sbt b/build.sbt index 9cee9e1..a67e79a 100644 --- a/build.sbt +++ b/build.sbt @@ -4,7 +4,6 @@ import sbtrelease.ReleaseStateTransformations._ val msgpack4zJawnName = "msgpack4z-jawn" val modules = msgpack4zJawnName :: Nil -val isScala3 = Def.setting(scalaBinaryVersion.value == "3") def gitHash(): String = sys.process.Process("git rev-parse HEAD").lineStream_!.head @@ -127,33 +126,6 @@ val msgpack4zJawn = CrossProject("msgpack4z-jawn", file("."))(JVMPlatform, JSPla "com.github.xuwei-k" %%% "msgpack4z-native" % "0.4.0" % "test", ), ) - .nativeSettings( - libraryDependencies := { - if (isScala3.value) { - Nil - } else { - libraryDependencies.value - } - }, - Seq(Compile, Test).map { x => - (x / sources) := { - if (isScala3.value) { - Nil - } else { - (x / sources).value - } - } - }, - Test / test := { - if (isScala3.value) { - () - } else { - (Test / test).value - } - }, - publish / skip := isScala3.value, - crossScalaVersions -= Scala3, - ) .jsSettings( scalacOptions += { val a = (LocalRootProject / baseDirectory).value.toURI.toString