summaryrefslogtreecommitdiff
path: root/scalaplugin
diff options
context:
space:
mode:
authorLi Haoyi <haoyi.sg@gmail.com>2017-11-11 20:49:39 -0800
committerLi Haoyi <haoyi.sg@gmail.com>2017-11-11 20:49:39 -0800
commit033b247f742fee487996ced80c9daaf8eb10d5f1 (patch)
tree5ec2b6cff7717a35db7de702101b8ac3aa12ddf5 /scalaplugin
parent37fd5e9de133dc157cdaa6d432700b93324680fe (diff)
downloadmill-033b247f742fee487996ced80c9daaf8eb10d5f1.tar.gz
mill-033b247f742fee487996ced80c9daaf8eb10d5f1.tar.bz2
mill-033b247f742fee487996ced80c9daaf8eb10d5f1.zip
`T{}` blocks can now be implicit
Diffstat (limited to 'scalaplugin')
-rw-r--r--scalaplugin/src/main/scala/mill/scalaplugin/Subproject.scala6
1 files changed, 3 insertions, 3 deletions
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)
}