@@ -1737,10 +1737,17 @@ object Build {
1737
1737
autoScalaLibrary := false ,
1738
1738
// Add the source directories for the stdlib (non-boostrapped)
1739
1739
Compile / unmanagedSourceDirectories := Seq (baseDirectory.value / " src" ),
1740
+ Test / unmanagedSourceDirectories := Seq (baseDirectory.value / " test" ),
1740
1741
Compile / unmanagedSourceDirectories += baseDirectory.value / " src-non-bootstrapped" ,
1742
+ // NOTE: The only difference here is that we drop `-Werror` and semanticDB for now
1743
+ Compile / scalacOptions := Seq (" -deprecation" , " -feature" , " -unchecked" , " -encoding" , " UTF8" , " -language:implicitConversions" ),
1741
1744
// Make sure that the produced artifacts have the minimum JVM version in the bytecode
1742
1745
Compile / javacOptions ++= Seq (" --target" , Versions .minimumJVMVersion),
1743
1746
Compile / scalacOptions ++= Seq (" --java-output-version" , Versions .minimumJVMVersion),
1747
+ // Add all the project's external dependencies
1748
+ libraryDependencies ++= Seq (
1749
+ " com.github.sbt" % " junit-interface" % " 0.13.3" % Test ,
1750
+ ),
1744
1751
// Packaging configuration of the stdlib
1745
1752
Compile / packageBin / publishArtifact := true ,
1746
1753
Compile / packageDoc / publishArtifact := false ,
@@ -1768,6 +1775,11 @@ object Build {
1768
1775
state.value,
1769
1776
scalaInstanceTopLoader.value,
1770
1777
)},
1778
+ // Add configuration of the test
1779
+ Test / envVars ++= Map (
1780
+ " EXPECTED_TASTY_VERSION" -> expectedTastyVersion,
1781
+ ),
1782
+
1771
1783
)
1772
1784
1773
1785
/* Configuration of the org.scala-lang:tasty-core_3:*.**.**-bootstrapped project */
@@ -1784,10 +1796,17 @@ object Build {
1784
1796
autoScalaLibrary := false ,
1785
1797
// Add the source directories for the stdlib (non-boostrapped)
1786
1798
Compile / unmanagedSourceDirectories := Seq (baseDirectory.value / " src" ),
1799
+ Test / unmanagedSourceDirectories := Seq (baseDirectory.value / " test" ),
1787
1800
Compile / unmanagedSourceDirectories += baseDirectory.value / " src-bootstrapped" ,
1801
+ // NOTE: The only difference here is that we drop `-Werror` and semanticDB for now
1802
+ Compile / scalacOptions := Seq (" -deprecation" , " -feature" , " -unchecked" , " -encoding" , " UTF8" , " -language:implicitConversions" ),
1788
1803
// Make sure that the produced artifacts have the minimum JVM version in the bytecode
1789
1804
Compile / javacOptions ++= Seq (" --target" , Versions .minimumJVMVersion),
1790
1805
Compile / scalacOptions ++= Seq (" --java-output-version" , Versions .minimumJVMVersion),
1806
+ // Add all the project's external dependencies
1807
+ libraryDependencies ++= Seq (
1808
+ " com.github.sbt" % " junit-interface" % " 0.13.3" % Test ,
1809
+ ),
1791
1810
// Packaging configuration of the stdlib
1792
1811
Compile / packageBin / publishArtifact := true ,
1793
1812
Compile / packageDoc / publishArtifact := false ,
@@ -1824,6 +1843,10 @@ object Build {
1824
1843
scalaCompilerBridgeBinaryJar := {
1825
1844
Some ((`scala3-sbt-bridge-nonbootstrapped` / Compile / packageBin).value)
1826
1845
},
1846
+ // Add configuration of the test
1847
+ Test / envVars ++= Map (
1848
+ " EXPECTED_TASTY_VERSION" -> expectedTastyVersion,
1849
+ ),
1827
1850
)
1828
1851
1829
1852
// ==============================================================================================
0 commit comments