Avoid missleading, link the syntax migration guide

Fixes #2818
This commit is contained in:
Dale Wijnand 2017-03-10 11:29:20 +00:00
parent 59030cf6f0
commit 347323bb98
No known key found for this signature in database
GPG Key ID: 4F256E3D151DF5EF
1 changed files with 2 additions and 2 deletions

View File

@ -72,8 +72,8 @@ object TaskMacro {
final val TransformInitName = "transform"
final val InputTaskCreateDynName = "createDyn"
final val InputTaskCreateFreeName = "createFree"
final val append1Migration = "`<+=` operator is deprecated. Use `lhs += { x.value }`."
final val appendNMigration = "`<++=` operator is deprecated. Use `lhs ++= { x.value }`."
final val append1Migration = "`<+=` operator is deprecated. Try `lhs += { x.value }`\n or see http://www.scala-sbt.org/0.13/docs/Migrating-from-sbt-012x.html."
final val appendNMigration = "`<++=` operator is deprecated. Try `lhs ++= { x.value }`\n or see http://www.scala-sbt.org/0.13/docs/Migrating-from-sbt-012x.html."
final val assignMigration =
"""`<<=` operator is deprecated. Use `key := { x.value }` or `key ~= (old => { newValue })`.
|See http://www.scala-sbt.org/0.13/docs/Migrating-from-sbt-012x.html""".stripMargin