File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -969,14 +969,16 @@ object Build {
969
969
((trgDir ** " *.scala" ) +++ (trgDir ** " *.java" )).get.toSet
970
970
} (Set (scalaLibrarySourcesJar)).toSeq
971
971
}.taskValue,
972
- (Compile / sources) ~= (_.filterNot( file =>
972
+ (Compile / sources) ~= (_.filterNot { file =>
973
973
// sources from https://github.com/scala/scala/tree/2.13.x/src/library-aux
974
- file.getPath.endsWith(" scala-library-src/scala/Any.scala" ) ||
975
- file.getPath.endsWith(" scala-library-src/scala/AnyVal.scala" ) ||
976
- file.getPath.endsWith(" scala-library-src/scala/AnyRef.scala" ) ||
977
- file.getPath.endsWith(" scala-library-src/scala/Nothing.scala" ) ||
978
- file.getPath.endsWith(" scala-library-src/scala/Null.scala" ) ||
979
- file.getPath.endsWith(" scala-library-src/scala/Singleton.scala" ))),
974
+ val path = file.getPath.replace('\\ ' , '/' )
975
+ path.endsWith(" scala-library-src/scala/Any.scala" ) ||
976
+ path.endsWith(" scala-library-src/scala/AnyVal.scala" ) ||
977
+ path.endsWith(" scala-library-src/scala/AnyRef.scala" ) ||
978
+ path.endsWith(" scala-library-src/scala/Nothing.scala" ) ||
979
+ path.endsWith(" scala-library-src/scala/Null.scala" ) ||
980
+ path.endsWith(" scala-library-src/scala/Singleton.scala" )
981
+ }),
980
982
(Compile / sources) := {
981
983
val files = (Compile / sources).value
982
984
val overwritenSourcesDir = (Compile / scalaSource).value
You can’t perform that action at this time.
0 commit comments