diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2018-05-17 19:02:57 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-17 19:02:57 -0700 |
commit | 6998027976944ec053785ee3a5d9851c0be5b5a8 (patch) | |
tree | bfab56aa074be7425e3e69b83e87c473b6355e81 /scalalib/src | |
parent | cf2bc4398c606db0a4ce4e979b60b1f9c3e6216e (diff) | |
download | mill-6998027976944ec053785ee3a5d9851c0be5b5a8.tar.gz mill-6998027976944ec053785ee3a5d9851c0be5b5a8.tar.bz2 mill-6998027976944ec053785ee3a5d9851c0be5b5a8.zip |
Fix JavaModule
Diffstat (limited to 'scalalib/src')
-rw-r--r-- | scalalib/src/mill/scalalib/JavaModule.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scalalib/src/mill/scalalib/JavaModule.scala b/scalalib/src/mill/scalalib/JavaModule.scala index d3308a22..9da790b9 100644 --- a/scalalib/src/mill/scalalib/JavaModule.scala +++ b/scalalib/src/mill/scalalib/JavaModule.scala @@ -117,7 +117,7 @@ trait JavaModule extends mill.Module with TaskModule { outer => for { root <- allSources() if exists(root.path) - path <- (if (root.path.isDir) ls.rec(root.path) else geny.Generator(root.path)) + path <- (if (root.path.isDir) ls.rec(root.path) else Seq(root.path)) if path.isFile && (path.ext == "scala" || path.ext == "java") } yield PathRef(path) } |