@@ -1234,11 +1234,12 @@ object Build {
1234
1234
*
1235
1235
* This version of the library is not (yet) TASTy/binary compatible with the Scala 2 compiled library.
1236
1236
*/
1237
- lazy val `scala2-library-bootstrapped` = project.in(file(" scala2-library-bootstrapped" )).
1238
- withCommonSettings(Bootstrapped ).
1239
- dependsOn(`scala-library-internal` % " provided" , dottyCompiler(Bootstrapped ) % " provided; compile->runtime; test->test" ).
1240
- settings(scala2LibraryBootstrappedSettings).
1241
- settings(moduleName := " scala2-library" )
1237
+ lazy val `scala2-library-bootstrapped` = project.in(file(" scala2-library-bootstrapped" ))
1238
+ .withCommonSettings(Bootstrapped )
1239
+ .dependsOn(dottyCompiler(Bootstrapped ) % " provided; compile->runtime; test->test" )
1240
+ .dependsOn(`scala-library-internal-tasty` % " provided" , `scala-library-internal` % " provided" )
1241
+ .settings(scala2LibraryBootstrappedSettings)
1242
+ .settings(moduleName := " scala2-library" )
1242
1243
.settings(
1243
1244
(Compile / packageBin / mappings) ++= (`scala-library-internal` / Compile / packageBin / mappings).value,
1244
1245
(Compile / packageBin / mappings) ++= (`scala-library-internal-tasty` / Compile / packageBin / mappings).value,
@@ -1251,11 +1252,17 @@ object Build {
1251
1252
*
1252
1253
* This version of the library is not (yet) TASTy/binary compatible with the Scala 2 compiled library.
1253
1254
*/
1254
- lazy val `scala2-library-cc` = project.in(file(" scala2-library-cc" )).
1255
- withCommonSettings(Bootstrapped ).
1256
- dependsOn(`scala-library-internal` % " provided" , dottyCompiler(Bootstrapped ) % " provided; compile->runtime; test->test" ).
1257
- settings(scala2LibraryBootstrappedSettings).
1258
- settings(moduleName := " scala2-library-cc" )
1255
+ lazy val `scala2-library-cc` = project.in(file(" scala2-library-cc" ))
1256
+ .withCommonSettings(Bootstrapped )
1257
+ .dependsOn(dottyCompiler(Bootstrapped ) % " provided; compile->runtime; test->test" )
1258
+ .dependsOn(`scala-library-internal-tasty` % " provided" , `scala-library-internal` % " provided" )
1259
+ .settings(scala2LibraryBootstrappedSettings)
1260
+ .settings(moduleName := " scala2-library-cc" )
1261
+ .settings(
1262
+ (Compile / packageBin / mappings) ++= (`scala-library-internal` / Compile / packageBin / mappings).value,
1263
+ (Compile / packageBin / mappings) ++= (`scala-library-internal-tasty` / Compile / packageBin / mappings).value,
1264
+ mimaCurrentClassfiles := (Compile / packageBin).value,
1265
+ )
1259
1266
1260
1267
lazy val scala2LibraryBootstrappedSettings = Seq (
1261
1268
javaOptions := (`scala3-compiler-bootstrapped` / javaOptions).value,
@@ -1264,7 +1271,7 @@ object Build {
1264
1271
},
1265
1272
Compile / doc / scalacOptions += " -Ydocument-synthetic-types" ,
1266
1273
scalacOptions += " -Ycompile-scala2-library" ,
1267
- // scalacOptions += "-Yscala2-unpickler:never",
1274
+ scalacOptions += " -Yscala2-unpickler:never" ,
1268
1275
scalacOptions += " -Werror:false" ,
1269
1276
Compile / compile / logLevel.withRank(KeyRanks .Invisible ) := Level .Error ,
1270
1277
ivyConfigurations += SourceDeps .hide,
0 commit comments