@@ -292,7 +292,7 @@ object ProtocPlugin extends AutoPlugin {
292
292
s """ PB.protocVersion must contain a dot-separated version number. For example: "3.13.0". Got: ' ${PB .protocVersion.value}' """
293
293
)
294
294
}
295
- (" com.google.protobuf" % " protoc" % version) asProtocBinary (),
295
+ (" com.google.protobuf" % " protoc" % version) asProtocBinary ()
296
296
},
297
297
PB .protocExecutable := {
298
298
scala.concurrent.Await .result(
@@ -465,7 +465,7 @@ object ProtocPlugin extends AutoPlugin {
465
465
466
466
targets.flatMap {
467
467
case Target (DescriptorSetGenerator (), outputFile, _) => Seq (outputFile)
468
- case Target (_, outputDirectory, _) => outputDirectory.allPaths.get
468
+ case Target (_, outputDirectory, _) => outputDirectory.allPaths.get()
469
469
}.toSet
470
470
} else if (schemas.nonEmpty && targets.isEmpty) {
471
471
log.info(" Protobufs files found, but PB.targets is empty." )
@@ -552,7 +552,8 @@ object ProtocPlugin extends AutoPlugin {
552
552
sources
553
553
.toSet[File ]
554
554
.flatMap(srcDir =>
555
- (srcDir ** (toInclude -- toExclude)).get
555
+ (srcDir ** (toInclude -- toExclude))
556
+ .get()
556
557
.map(_.getAbsoluteFile)
557
558
) match {
558
559
case protos if protos.nonEmpty =>
@@ -622,8 +623,7 @@ object ProtocPlugin extends AutoPlugin {
622
623
{ (_, prevValue) =>
623
624
def stampClasspath (files : Seq [File ]) =
624
625
// artifact paths can be JARs or directories, so a recursive stamp is needed
625
- FileInfo .hash(files.toSet[File ].allPaths.get.toSet)
626
-
626
+ FileInfo .hash(files.toSet[File ].allPaths.get().toSet)
627
627
if (prevValue == null ) {
628
628
// first time this classpath is requested since the start of sbt
629
629
val resolved = resolver(artifact)
@@ -711,7 +711,7 @@ object ProtocPlugin extends AutoPlugin {
711
711
val sandboxedArtifactsStamps =
712
712
stampedClassLoadersByArtifact.values.map(_._1).toSeq
713
713
val inputStamp =
714
- FileInfo .hash(schemas ++ arguments.includePaths.allPaths.get)
714
+ FileInfo .hash(schemas ++ arguments.includePaths.allPaths.get() )
715
715
cachedCompile((arguments, sandboxedArtifactsStamps :+ inputStamp)).toSeq
716
716
}
717
717
}
0 commit comments