Skip to content

Commit d68d5dc

Browse files
committed
Only package .tasty files in jar of stdlib-2.13.0-bootstraped
1 parent 64ea359 commit d68d5dc

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

project/Build.scala

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -984,9 +984,14 @@ object Build {
984984
settings(commonStdlibBootstrappedSettings).
985985
settings(
986986
scalacOptions += "-Yscala2-stdlib",
987-
Compile/scalacOptions ++= {
987+
Compile / scalacOptions ++= {
988988
Seq("-sourcepath", ((Compile/sourceManaged).value / "scala-library-src").toString)
989989
},
990+
Compile / exportJars := true,
991+
Compile / packageBin / mappings ~= { _.filter(_._2.endsWith(".tasty")) },
992+
Compile / packageBin / artifactName := { (version, module, artifact) =>
993+
s"${module.name}-${stdlibVersion(Bootstrapped)}-${version.full}.jar"
994+
},
990995
mimaCheckDirection := "both",
991996
mimaBackwardIssueFilters := MiMaFilters.StdlibBootstrappedBackwards,
992997
mimaForwardIssueFilters := MiMaFilters.StdlibBootstrappedForward,

0 commit comments

Comments
 (0)