From 7ca327fc08351e27692c18652f685db2864e3212 Mon Sep 17 00:00:00 2001 From: Dale Wijnand Date: Fri, 13 Jan 2017 12:05:03 +0000 Subject: [PATCH] Migrate actions/depends-on to fix it Seems following the deprecation warning info and the website documentation and avoiding the BuildCommon inputTask method avoids whatever problem was causing it to fail... Strange.. but ok? --- sbt/src/sbt-test/actions/depends-on/build.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbt/src/sbt-test/actions/depends-on/build.sbt b/sbt/src/sbt-test/actions/depends-on/build.sbt index c20f79671..8a319ce52 100644 --- a/sbt/src/sbt-test/actions/depends-on/build.sbt +++ b/sbt/src/sbt-test/actions/depends-on/build.sbt @@ -14,7 +14,7 @@ lazy val d = taskKey[Unit]("") lazy val input = (project in file("input")). settings( - f := (inputTask { _ map { args => if (args(0) == "succeed") () else sys.error("fail") } }).evaluated, + f := (if (Def.spaceDelimited().parsed.head == "succeed") () else sys.error("fail")), j := sys.error("j"), g := (f dependsOn(j)).evaluated, h := (f map { _ => IO.touch(file("h")) }).evaluated