scala/scala3-mill-example-project

Build error

Closed this issue · 0 comments

Not sure if this is user error but I can't get this to build.

I'm running on Windows 10 with Java java 17.0.2 2022-01-18 LTS running mill from the latest github release.

When running any mill command I get the following:

PS C:\Users\User\projects\scala3-mill-example-project> C:\Users\User\Downloads\mill.bat root.compile
Compiling C:\Users\User\projects\scala3-mill-example-project\build.sc
C:\Users\User\projects\scala3-mill-example-project\build.sc:4: object ops is not a member of package ammonite
  def millSourcePath = ammonite.ops.pwd
                                ^
C:\Users\User\projects\scala3-mill-example-project\build.sc:4: `T.command` definitions must have 1 parameter list
  def millSourcePath = ammonite.ops.pwd
      ^
Compilation Failed

Same problem on Mac

> mill --version
Mill Build Tool version 0.10.4
Java version: 11.0.11, vendor: Amazon.com Inc., runtime: /Users/justin.heyes-jones/.sdkman/candidates/java/11.0.11.9.1-amzn
Default locale: en_US, platform encoding: UTF-8
OS name: "Mac OS X", version: 11.5, arch: x86_64

Mill is working with other projects.