diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2017-11-11 20:49:39 -0800 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2017-11-11 20:49:39 -0800 |
commit | 033b247f742fee487996ced80c9daaf8eb10d5f1 (patch) | |
tree | 5ec2b6cff7717a35db7de702101b8ac3aa12ddf5 /scalaplugin | |
parent | 37fd5e9de133dc157cdaa6d432700b93324680fe (diff) | |
download | mill-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.scala | 6 |
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) } |