From 1ae91f1369ee5899ca77c102023e32003ce9569a Mon Sep 17 00:00:00 2001 From: xuwei-k <6b656e6a69@gmail.com> Date: Wed, 16 Oct 2024 08:28:48 +0900 Subject: [PATCH] add parentheses `PathFinder.get` --- .../src/main/scala-sbt-1.0/sbtscalaxb/ScalaxbCompile.scala | 2 +- sbt-scalaxb/src/main/scala/sbtscalaxb/ScalaxbPlugin.scala | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sbt-scalaxb/src/main/scala-sbt-1.0/sbtscalaxb/ScalaxbCompile.scala b/sbt-scalaxb/src/main/scala-sbt-1.0/sbtscalaxb/ScalaxbCompile.scala index da9d6312..29f6313e 100644 --- a/sbt-scalaxb/src/main/scala-sbt-1.0/sbtscalaxb/ScalaxbCompile.scala +++ b/sbt-scalaxb/src/main/scala-sbt-1.0/sbtscalaxb/ScalaxbCompile.scala @@ -33,6 +33,6 @@ object ScalaxbCompile { } def inputs: (List[File], FilesInfo[ModifiedFileInfo], String) = (sources.toList, lastModified(sources.toSet).asInstanceOf[FilesInfo[ModifiedFileInfo]], BuildInfo.version) - cachedCompile(inputs)(() => exists((outDir ** "*.scala").get.toSet).asInstanceOf[FilesInfo[PlainFileInfo]]) + cachedCompile(inputs)(() => exists((outDir ** "*.scala").get().toSet).asInstanceOf[FilesInfo[PlainFileInfo]]) } } diff --git a/sbt-scalaxb/src/main/scala/sbtscalaxb/ScalaxbPlugin.scala b/sbt-scalaxb/src/main/scala/sbtscalaxb/ScalaxbPlugin.scala index 206feaa4..e41b3ced 100644 --- a/sbt-scalaxb/src/main/scala/sbtscalaxb/ScalaxbPlugin.scala +++ b/sbt-scalaxb/src/main/scala/sbtscalaxb/ScalaxbPlugin.scala @@ -84,11 +84,11 @@ object ScalaxbPlugin extends sbt.AutoPlugin { sources := { val xsd = scalaxbXsdSource.value val wsdl = scalaxbWsdlSource.value - (wsdl ** "*.wsdl").get.sorted ++ (xsd ** "*.xsd").get.sorted + (wsdl ** "*.wsdl").get().sorted ++ (xsd ** "*.xsd").get().sorted }, clean := { val outdir = sourceManaged.value - IO.delete((outdir ** "*").get) + IO.delete((outdir ** "*").get()) IO.createDirectory(outdir) }, scalaxbCombinedPackageNames := {