@@ -264,7 +264,7 @@ lazy val incompat30Settings =
264
264
// we copy the scala213 sources into the target folder
265
265
// because it might be rewritten by dotc or scalafix
266
266
CompileBackward / sourceGenerators += Def .task {
267
- val _ = clean.value // clean to force recompilation and rewrite
267
+ val _ = ( CompileBackward / clean) .value // clean to force recompilation and rewrite
268
268
copySources(scala213SourceDir.value, rewriteDir.value)
269
269
},
270
270
CompileBackward / managedClasspath := (managedClasspath in Compile ).value,
@@ -317,7 +317,7 @@ lazy val runtimeIncompat30Settings = incompat30Settings :+ {
317
317
val logger = streams.value.log
318
318
val _ = (Compile / run).toTask(" " ).value
319
319
val runBwd = (CompileBackward / run).toTask(" " ).result.value
320
-
320
+
321
321
if (isDotty.value)
322
322
Assert .runtimeIncompatibility(name.value, scalaVersion.value, runBwd, logger)
323
323
else
@@ -338,7 +338,7 @@ lazy val incompat31Settings = inConfig(CompileBackward)(Defaults.compileSettings
338
338
// we copy the scala30 sources into the target folder
339
339
// because they might be rewritten by dotc or scalafix
340
340
CompileBackward / sourceGenerators += Def .task {
341
- val _ = clean.value // clean to force recompilation and rewrite
341
+ val _ = ( CompileBackward / clean) .value // clean to force recompilation and rewrite
342
342
copySources(scala30SourceDir.value, rewriteDir.value)
343
343
},
344
344
CompileBackward / managedClasspath := (managedClasspath in Compile ).value,
0 commit comments