Skip to content

Make SBT build run without compilation errors #1

@ScalaWilliam

Description

@ScalaWilliam

I want to depend on an SBT project in http4s Git submodusle // directory because it has some things we need.

I need this build to start up successfully so I could run sbt 'show version' without errors. It's just something about ProjectRefs that I don't remember how to figure out in SBT.

~/http4s-play$ sbt
[info] Loading settings from idea.sbt,sbt-updates.sbt ...
[info] Loading global plugins from /home/.../.sbt/1.0/plugins
[info] Loading settings from plugins.sbt,build.sbt ...
[info] Loading settings from plugins.sbt,build.sbt ...
[info] Loading project definition from /home/.../http4s-play/project
[info] Compiling 3 Scala sources to /home/.../http4s-play/http4s/project/target/scala-2.12/classes ...
[error] /home/..../http4s-play/http4s/project/CentralRequirements.scala:4:12: object Keys is not a member of package sbt
[error] import sbt.Keys._
[error]            ^
[error] /home/.../http4s-play/http4s/project/CentralRequirements.scala:6
:8: Symbol 'type sbt.AutoPlugin' is missing from the classpath.
[error] This symbol is required by 'object xerial.sbt.Sonatype'.

I'll pay $40 to solve this issue. May be very simple for an SBT person.

Under the ScalaWilliam Work rules, to reserve this task to yourself, please say "I'm taking on this". This was posted on http://work.scalawilliam.com/ScalaWilliam-http4s-play-1/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions