mirror of https://github.com/sbt/sbt.git
Fixes sbt/sbt#3157 Before: PgpSettings.scala:99: exception during macro expansion: [error] java.lang.RuntimeException: Unexpected macro application tree (class scala.reflect.internal.Trees$Apply): PgpKeys.pgpStaticContext.<<=(sbt.this.Scoped.t2ToApp2[sbt.File, sbt.File](scala.Tuple2.apply[sbt.SettingKey[sbt.File], sbt.SettingKey[sbt.File]](PgpKeys.pgpPublicRing, PgpKeys.pgpSecretRing)).apply[com.jsuereth.pgp.cli.PgpStaticContext]({ [error] ((publicKeyRingFile: sbt.File, secretKeyRingFile: sbt.File) => SbtPgpStaticContext.apply(publicKeyRingFile, secretKeyRingFile)) After: build.sbt:18: error: `<<=` operator is removed. Use `key := { x.value }` or `key ~= (old => { newValue })`. See http://www.scala-sbt.org/1.0/docs/Migrating-from-sbt-012x.html publishLocal <<= foo // publishLocal.dependsOn(foo) ^ [error] sbt.compiler.EvalException: Type error in expression |
||
|---|---|---|
| .. | ||
| main/scala/sbt | ||
| test/scala/sbt/std | ||