From 033b247f742fee487996ced80c9daaf8eb10d5f1 Mon Sep 17 00:00:00 2001 From: Li Haoyi Date: Sat, 11 Nov 2017 20:49:39 -0800 Subject: `T{}` blocks can now be implicit --- scalaplugin/src/main/scala/mill/scalaplugin/Subproject.scala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scalaplugin') diff --git a/scalaplugin/src/main/scala/mill/scalaplugin/Subproject.scala b/scalaplugin/src/main/scala/mill/scalaplugin/Subproject.scala index 2dcbbe04..2fd9b2e0 100644 --- a/scalaplugin/src/main/scala/mill/scalaplugin/Subproject.scala +++ b/scalaplugin/src/main/scala/mill/scalaplugin/Subproject.scala @@ -110,7 +110,7 @@ object Subproject{ l } ) - outputPath + PathRef(outputPath) } def resolveDependencies(repositories: Seq[Repository], @@ -237,8 +237,8 @@ trait Subproject extends Cacher{ ) } - def sources = T[PathRef]{ basePath() / 'src } - def resources = T[PathRef]{ basePath() / 'resources } + def sources = T{ PathRef(basePath() / 'src) } + def resources = T{ PathRef(basePath() / 'resources) } def compiled = T{ compileScala(scalaVersion(), sources(), compileDepClasspath(), Task.ctx().dest) } -- cgit v1.2.3