Skip to content

Commit

Permalink
Remove other workarounds
Browse files Browse the repository at this point in the history
  • Loading branch information
armanbilge committed Mar 17, 2023
1 parent 2499d27 commit 49c9456
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,7 @@ lazy val core = crossProject(JVMPlatform, JSPlatform, NativePlatform)
}.taskValue,
libraryDependencies ++= Seq(
"io.github.cquiroz" %%% "scala-java-locales" % scalajavaLocalesVersion
),
Test / loadedTestFrameworks := Map.empty // workaround
)
)

lazy val tzdb = crossProject(JVMPlatform, JSPlatform, NativePlatform)
Expand All @@ -187,13 +186,12 @@ lazy val tzdb = crossProject(JVMPlatform, JSPlatform, NativePlatform)
}.taskValue
)
.nativeSettings(
tzdbPlatform := TzdbPlugin.Platform.Native,
tzdbPlatform := TzdbPlugin.Platform.Native,
Compile / sourceGenerators += Def.task {
val srcDirs = (Compile / sourceManaged).value
val destinationDir = (Compile / sourceManaged).value
copyAndReplace(Seq(srcDirs), destinationDir)
}.taskValue,
Test / loadedTestFrameworks := Map.empty // workaround
}.taskValue
)
.jvmSettings(
tzdbPlatform := TzdbPlugin.Platform.Jvm
Expand Down Expand Up @@ -262,6 +260,5 @@ lazy val demo = crossProject(JSPlatform, JVMPlatform, NativePlatform)
tzdbPlatform := TzdbPlugin.Platform.Jvm
)
.nativeSettings(
tzdbPlatform := TzdbPlugin.Platform.Native,
Test / loadedTestFrameworks := Map.empty // workaround
tzdbPlatform := TzdbPlugin.Platform.Native
)

0 comments on commit 49c9456

Please sign in to comment.