diff --git a/project/Scripted.scala b/project/Scripted.scala index 919199c80..6ee328d02 100644 --- a/project/Scripted.scala +++ b/project/Scripted.scala @@ -40,7 +40,7 @@ object Scripted { import DefaultParsers.* val scriptedFiles: NameFilter = ("test": NameFilter) | "pending" - val pairs = (scriptedBase * AllPassFilter * AllPassFilter * scriptedFiles).get map { + val pairs = (scriptedBase * AllPassFilter * AllPassFilter * scriptedFiles).get() map { (f: File) => val p = f.getParentFile (p.getParentFile.getName, p.getName) diff --git a/project/Transform.scala b/project/Transform.scala index 594667304..92c0f64a3 100644 --- a/project/Transform.scala +++ b/project/Transform.scala @@ -7,7 +7,7 @@ object Transform { resourceGenerators += Def.task { val rdirs = Seq(sourceDirectory.value / "input_resources") val rm = resourceManaged.value - val paths = (rdirs ** (-DirectoryFilter)).get --- rdirs + val paths = (rdirs ** (-DirectoryFilter)).get() --- rdirs val rs = paths.pair(Path.rebase(rdirs, rm) | Path.flat(rm)) val props = Map( "org" -> organization.value, diff --git a/project/Utils.scala b/project/Utils.scala index bb26e0376..6c7cb9e3a 100644 --- a/project/Utils.scala +++ b/project/Utils.scala @@ -69,7 +69,7 @@ object Utils { val args = "xsbti.api" :: out.getAbsolutePath :: defs.map(_.getAbsolutePath).toList val mainClass = main getOrElse "No main class defined for datatype generator" run.run(mainClass, cp.files, args, s.log).failed foreach (e => sys error e.getMessage) - (out ** "*.java").get + (out ** "*.java").get() } def lastCompilationTime(analysis: Analysis): Long = { val lastCompilation = analysis.compilations.allCompilations.lastOption @@ -177,7 +177,7 @@ object Utils { val _ = (data / Compile / scalafix) .toTask(s" --rules GenerateDataClass --out-from=$outFrom --out-to=$outTo") .value - (to ** "*.scala").get + (to ** "*.scala").get() } } }