Skip to content

Build error #13

Closed
Closed
@justinhj

Description

@justinhj

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions