@@ -1391,11 +1391,14 @@ object Build {
1391
1391
// Make sure that the produced artifacts have the minimum JVM version in the bytecode
1392
1392
Compile / javacOptions ++= Seq (" --target" , Versions .minimumJVMVersion),
1393
1393
Compile / scalacOptions ++= Seq (" --java-output-version" , Versions .minimumJVMVersion),
1394
+ // Packaging configuration of the stdlib
1395
+ Compile / packageBin / publishArtifact := true ,
1396
+ Compile / packageDoc / publishArtifact := false ,
1397
+ Compile / packageSrc / publishArtifact := true ,
1394
1398
// Only publish compilation artifacts, no test artifacts
1395
- Compile / publishArtifact := true ,
1396
1399
Test / publishArtifact := false ,
1397
- // Do not allow to publish this project for now
1398
- publish / skip := true ,
1400
+ // non-bootstrapped stdlib is publishable (only locally)
1401
+ publish / skip := false ,
1399
1402
// Project specific target folder. sbt doesn't like having two projects using the same target folder
1400
1403
target := target.value / " scala-library-nonbootstrapped" ,
1401
1404
)
@@ -1426,11 +1429,14 @@ object Build {
1426
1429
Test / compile := (`scala-library-nonbootstrapped` / Test / compile).value,
1427
1430
Test / doc := (`scala-library-nonbootstrapped` / Test / doc).value,
1428
1431
Test / run := (`scala-library-nonbootstrapped` / Test / run).evaluated,
1432
+ // Packaging configuration of the stdlib
1433
+ Compile / packageBin / publishArtifact := true ,
1434
+ Compile / packageDoc / publishArtifact := false ,
1435
+ Compile / packageSrc / publishArtifact := true ,
1429
1436
// Only publish compilation artifacts, no test artifacts
1430
- Compile / publishArtifact := true ,
1431
1437
Test / publishArtifact := false ,
1432
1438
// Do not allow to publish this project for now
1433
- publish / skip := true ,
1439
+ publish / skip := false ,
1434
1440
// Project specific target folder. sbt doesn't like having two projects using the same target folder
1435
1441
target := target.value / " scala3-library-nonbootstrapped" ,
1436
1442
)
@@ -1562,11 +1568,14 @@ object Build {
1562
1568
// Make sure that the produced artifacts have the minimum JVM version in the bytecode
1563
1569
Compile / javacOptions ++= Seq (" --target" , Versions .minimumJVMVersion),
1564
1570
Compile / scalacOptions ++= Seq (" --java-output-version" , Versions .minimumJVMVersion),
1571
+ // Packaging configuration of the stdlib
1572
+ Compile / packageBin / publishArtifact := true ,
1573
+ Compile / packageDoc / publishArtifact := false ,
1574
+ Compile / packageSrc / publishArtifact := true ,
1565
1575
// Only publish compilation artifacts, no test artifacts
1566
- Compile / publishArtifact := true ,
1567
1576
Test / publishArtifact := false ,
1568
1577
// Do not allow to publish this project for now
1569
- publish / skip := true ,
1578
+ publish / skip := false ,
1570
1579
// Project specific target folder. sbt doesn't like having two projects using the same target folder
1571
1580
target := target.value / " tasty-core-nonbootstrapped" ,
1572
1581
// sbt adds all the projects to scala-tool config which breaks building the scalaInstance
@@ -1623,11 +1632,14 @@ object Build {
1623
1632
// Make sure that the produced artifacts have the minimum JVM version in the bytecode
1624
1633
Compile / javacOptions ++= Seq (" --target" , Versions .minimumJVMVersion),
1625
1634
Compile / scalacOptions ++= Seq (" --java-output-version" , Versions .minimumJVMVersion),
1635
+ // Packaging configuration of the stdlib
1636
+ Compile / packageBin / publishArtifact := true ,
1637
+ Compile / packageDoc / publishArtifact := false ,
1638
+ Compile / packageSrc / publishArtifact := true ,
1626
1639
// Only publish compilation artifacts, no test artifacts
1627
- Compile / publishArtifact := true ,
1628
1640
Test / publishArtifact := false ,
1629
1641
// Do not allow to publish this project for now
1630
- publish / skip := true ,
1642
+ publish / skip := false ,
1631
1643
// Project specific target folder. sbt doesn't like having two projects using the same target folder
1632
1644
target := target.value / " scala3-compiler-nonbootstrapped" ,
1633
1645
// Generate compiler.properties, used by sbt
0 commit comments