From 98dfeda7c330bfbdc8bcf5f1488ca08299afa8b7 Mon Sep 17 00:00:00 2001 From: Eugene Yokota Date: Thu, 1 Oct 2015 15:43:41 -0400 Subject: [PATCH] Fixes scripted source-dependencies/inherited-macros --- .../source-dependencies/inherited-macros/macro-client/build.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbt/src/sbt-test/source-dependencies/inherited-macros/macro-client/build.sbt b/sbt/src/sbt-test/source-dependencies/inherited-macros/macro-client/build.sbt index 75588e23c..f416323a0 100644 --- a/sbt/src/sbt-test/source-dependencies/inherited-macros/macro-client/build.sbt +++ b/sbt/src/sbt-test/source-dependencies/inherited-macros/macro-client/build.sbt @@ -1,6 +1,6 @@ // Check that a file has not been recompiled during last compilation InputKey[Unit]("check-not-recompiled") <<= inputTask { (argTask: TaskKey[Seq[String]]) => - (argTask, compile in Compile) map { (args: Seq[String], a: sbt.inc.Analysis) => + (argTask, compile in Compile) map { (args: Seq[String], a: Analysis) => assert(args.size == 1) val fileCompilation = a.apis.internal.collect { case (file, src) if file.name.endsWith(args(0)) => src.compilation }.head val lastCompilation = a.compilations.allCompilations.last