@@ -2093,10 +2093,12 @@ object Build {
2093
2093
// sbt shouldn't add stdlib automatically, we depend on `scala3-library-nonbootstrapped`
2094
2094
autoScalaLibrary := false ,
2095
2095
// Add the source directories for the compiler (non-boostrapped)
2096
- Compile / unmanagedSourceDirectories := Seq (baseDirectory.value / " src" ),
2097
- Compile / unmanagedSourceDirectories += baseDirectory.value / " src-non-bootstrapped" ,
2096
+ Compile / unmanagedSourceDirectories := Seq (baseDirectory.value / " src" ),
2097
+ Compile / unmanagedSourceDirectories += baseDirectory.value / " src-non-bootstrapped" ,
2098
+ Compile / unmanagedResourceDirectories += baseDirectory.value / " resources" ,
2098
2099
// Add the test directories for the compiler (non-bootstrapped)
2099
- Test / unmanagedSourceDirectories := Seq (baseDirectory.value / " test" ),
2100
+ Test / unmanagedSourceDirectories := Seq (baseDirectory.value / " test" ),
2101
+ Test / unmanagedResourceDirectories += baseDirectory.value / " test-resources" ,
2100
2102
// All the dependencies needed by the compiler
2101
2103
libraryDependencies ++= Seq (
2102
2104
" com.github.sbt" % " junit-interface" % " 0.13.3" % Test ,
@@ -2262,10 +2264,12 @@ object Build {
2262
2264
// sbt shouldn't add stdlib automatically, we depend on `scala3-library-nonbootstrapped`
2263
2265
autoScalaLibrary := false ,
2264
2266
// Add the source directories for the compiler (boostrapped)
2265
- Compile / unmanagedSourceDirectories := Seq (baseDirectory.value / " src" ),
2266
- Compile / unmanagedSourceDirectories += baseDirectory.value / " src-bootstrapped" ,
2267
+ Compile / unmanagedSourceDirectories := Seq (baseDirectory.value / " src" ),
2268
+ Compile / unmanagedSourceDirectories += baseDirectory.value / " src-bootstrapped" ,
2269
+ Compile / unmanagedResourceDirectories += baseDirectory.value / " resources" ,
2267
2270
// Add the test directories for the compiler (bootstrapped)
2268
2271
Test / unmanagedSourceDirectories := Seq (baseDirectory.value / " test" ),
2272
+ Test / unmanagedResourceDirectories += baseDirectory.value / " test-resources" ,
2269
2273
// All the dependencies needed by the compiler
2270
2274
libraryDependencies ++= Seq (
2271
2275
" org.scala-lang.modules" % " scala-asm" % " 9.8.0-scala-1" ,
0 commit comments