Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Commit a6d4728

Browse files
committed
Do not include .class files in the packaged .jars.
They are supposed to be provided by the host JDK. To test that the test suite passes with the host JDK .class files only, we use `exportJars := true`.
1 parent 5be1443 commit a6d4728

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

build.sbt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ lazy val root: Project = project.in(file(".")).
2222
settings(
2323
name := "scalajs-java-time",
2424

25+
mappings in (Compile, packageBin) ~= {
26+
_.filter(!_._2.endsWith(".class"))
27+
},
28+
exportJars := true,
29+
2530
publishMavenStyle := true,
2631
publishTo := {
2732
val nexus = "https://oss.sonatype.org/"

0 commit comments

Comments
 (0)