Skip to content
This repository has been archived by the owner on Feb 28, 2021. It is now read-only.

sbt-bintray has issues with sbt 0.13.11 #82

Closed
jroper opened this issue Mar 9, 2016 · 1 comment
Closed

sbt-bintray has issues with sbt 0.13.11 #82

jroper opened this issue Mar 9, 2016 · 1 comment

Comments

@jroper
Copy link
Member

jroper commented Mar 9, 2016

When using sbt-bintray with sbt 0.13.11, the following error messages are often seen:

[error] (root/*:bintrayRelease) Settings logger used after project was loaded.

Though I haven't looked at the source code, my guess is from the error message that many bintray tasks are using the settings logger, while they should be using the logger from streams, and sbt 0.13.11 seems to have becomes strict about only using the settings logger when settings are being run, not when tasks are being run.

@jroper
Copy link
Member Author

jroper commented Mar 9, 2016

I just had a look at the source code and confirmed this:

https://github.com/softprops/bintray-sbt/blob/master/src/main/scala/BintrayPlugin.scala

It's using sLog everywhere, which is wrong, since it's only meant to be used in settings:

  val sLog = SettingKey[Logger]("setting-logger", "Logger usable by settings during project loading.", CSetting)

It should be using streams.value.log instead.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants