@@ -2123,10 +2123,12 @@ object Build {
2123
2123
// sbt shouldn't add stdlib automatically, we depend on `scala3-library-nonbootstrapped`
2124
2124
autoScalaLibrary := false ,
2125
2125
// Add the source directories for the compiler (non-boostrapped)
2126
- Compile / unmanagedSourceDirectories := Seq (baseDirectory.value / " src" ),
2127
- Compile / unmanagedSourceDirectories += baseDirectory.value / " src-non-bootstrapped" ,
2126
+ Compile / unmanagedSourceDirectories := Seq (baseDirectory.value / " src" ),
2127
+ Compile / unmanagedSourceDirectories += baseDirectory.value / " src-non-bootstrapped" ,
2128
+ Compile / unmanagedResourceDirectories += baseDirectory.value / " resources" ,
2128
2129
// Add the test directories for the compiler (non-bootstrapped)
2129
- Test / unmanagedSourceDirectories := Seq (baseDirectory.value / " test" ),
2130
+ Test / unmanagedSourceDirectories := Seq (baseDirectory.value / " test" ),
2131
+ Test / unmanagedResourceDirectories += baseDirectory.value / " test-resources" ,
2130
2132
// All the dependencies needed by the compiler
2131
2133
libraryDependencies ++= Seq (
2132
2134
" com.github.sbt" % " junit-interface" % " 0.13.3" % Test ,
@@ -2293,10 +2295,12 @@ object Build {
2293
2295
// sbt shouldn't add stdlib automatically, we depend on `scala3-library-nonbootstrapped`
2294
2296
autoScalaLibrary := false ,
2295
2297
// Add the source directories for the compiler (boostrapped)
2296
- Compile / unmanagedSourceDirectories := Seq (baseDirectory.value / " src" ),
2297
- Compile / unmanagedSourceDirectories += baseDirectory.value / " src-bootstrapped" ,
2298
+ Compile / unmanagedSourceDirectories := Seq (baseDirectory.value / " src" ),
2299
+ Compile / unmanagedSourceDirectories += baseDirectory.value / " src-bootstrapped" ,
2300
+ Compile / unmanagedResourceDirectories += baseDirectory.value / " resources" ,
2298
2301
// Add the test directories for the compiler (bootstrapped)
2299
2302
Test / unmanagedSourceDirectories := Seq (baseDirectory.value / " test" ),
2303
+ Test / unmanagedResourceDirectories += baseDirectory.value / " test-resources" ,
2300
2304
// All the dependencies needed by the compiler
2301
2305
libraryDependencies ++= Seq (
2302
2306
" org.scala-lang.modules" % " scala-asm" % " 9.8.0-scala-1" ,
0 commit comments