diff options
Diffstat (limited to 'main/core/src/mill/define/Module.scala')
-rw-r--r-- | main/core/src/mill/define/Module.scala | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/main/core/src/mill/define/Module.scala b/main/core/src/mill/define/Module.scala index f72ec8ca..a8fc5be7 100644 --- a/main/core/src/mill/define/Module.scala +++ b/main/core/src/mill/define/Module.scala @@ -2,7 +2,6 @@ package mill.define import java.lang.reflect.Modifier -import ammonite.ops.Path import mill.util.ParseArgs import scala.language.experimental.macros @@ -27,7 +26,7 @@ class Module(implicit outerCtx0: mill.define.Ctx) lazy val millModuleDirectChildren = millInternal.reflectNestedObjects[Module].toSeq def millOuterCtx = outerCtx0 - def millSourcePath: Path = millOuterCtx.millSourcePath / millOuterCtx.segment.pathSegments + def millSourcePath: os.Path = millOuterCtx.millSourcePath / millOuterCtx.segment.pathSegments implicit def millModuleExternal: Ctx.External = Ctx.External(millOuterCtx.external) implicit def millModuleShared: Ctx.Foreign = Ctx.Foreign(millOuterCtx.foreign) implicit def millModuleBasePath: BasePath = BasePath(millSourcePath) |