Skip to content

Commit

Permalink
Rename scala2-library-tasty with experimental (#19788)
Browse files Browse the repository at this point in the history
This is to prepare the it for release. The name of the jar will be
`scala2-library-tasty-experimental` to make it clear that it is not
stable yet.
  • Loading branch information
sjrd authored Feb 27, 2024
2 parents e0cb1e7 + 52bd4cf commit 7f410aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1229,6 +1229,7 @@ object Build {
lazy val `scala2-library-tasty` = project.in(file("scala2-library-tasty")).
withCommonSettings(Bootstrapped).
settings(
moduleName := "scala2-library-tasty-experimental",
exportJars := true,
Compile / packageBin / mappings := {
(`scala2-library-bootstrapped` / Compile / packageBin / mappings).value
Expand All @@ -1240,6 +1241,7 @@ object Build {
lazy val `scala2-library-cc-tasty` = project.in(file("scala2-library-cc-tasty")).
withCommonSettings(Bootstrapped).
settings(
moduleName := "scala2-library-cc-tasty-experimental",
exportJars := true,
Compile / packageBin / mappings := {
(`scala2-library-cc` / Compile / packageBin / mappings).value
Expand Down
2 changes: 1 addition & 1 deletion sbt-test/sbt-dotty/scala2-library-tasty/build.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
scalaVersion := sys.props("plugin.scalaVersion")

libraryDependencies += "org.scala-lang" %% "scala2-library-tasty" % scalaVersion.value
libraryDependencies += "org.scala-lang" %% "scala2-library-tasty-experimental" % scalaVersion.value
scalacOptions += "-Yscala2-unpickler:never" // check that we do not load symbol from the Scala 2 library classfiles (use TASTy)

0 comments on commit 7f410aa

Please sign in to comment.