New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make SBT build run without compilation errors #1

Open
ScalaWilliam opened this Issue May 1, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@ScalaWilliam
Owner

ScalaWilliam commented May 1, 2018

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment