Skip to content

sbt 0.13 compatibility (avoid deprecated operators) #190

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

Closed
SethTisue opened this issue Oct 20, 2016 · 3 comments
Closed

sbt 0.13 compatibility (avoid deprecated operators) #190

SethTisue opened this issue Oct 20, 2016 · 3 comments

Comments

@SethTisue
Copy link
Contributor

SethTisue commented Oct 20, 2016

dbuild inserts stuff into builds that uses the <<= operator, which is deprecated in sbt 0.13

this causes noise in build logs:

[mima:error] /home/jenkins/workspace/scala-2.11.x-jdk8-integrate-community-build/target-0.9.5/extraction/fd166a3742340e0d03d17622d468651861ad2ebf/projects/fe5fc9dbf0fed7d1455995b72f37ed6ce3592ebc/project/ÿÿÿÿÿÿÿÿÿÿ~~~~dbuild~defs.sbt:1: warning: <<= operator is deprecated. Use key := { x.value } or key ~= (old => { newValue }).

worse, if somebody has -Xfatal-warnings enabled for their build definition itself, it fails the build

fyi @dwijnand

@dwijnand dwijnand self-assigned this Oct 20, 2016
@dwijnand
Copy link
Contributor

@SethTisue
Copy link
Contributor Author

doh. ok, I'll fix

@SethTisue SethTisue reopened this Oct 20, 2016
@SethTisue
Copy link
Contributor Author

well, actually:

[acyclic:error] onLoad in Global <<= (onLoad in Global) { previousOnLoad => previousOnLoad andThen { state => { com.typesafe.dbuild.plugin.DependencyAnalysis.printCmd(state,previousOnLoad) } }}
[acyclic:error]                  ^

I think this one is coming from dbuild.

@cunei cunei closed this as completed in 61d62aa Oct 21, 2016
cunei pushed a commit that referenced this issue Oct 21, 2016
Avoid injecting deprecated operators. Fixes #190
@dwijnand dwijnand removed their assignment Jan 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants