mirror of
https://github.com/sbt/sbt.git
synced 2026-10-06 18:14:04 +02:00
There were a number of unused key lint warnings when loading the sbt build. In the case of `fork in compile` and `crossVersion in update`, it wasn't clear that these were actually used, so I removed those settings. The others seemed to be used so I just added them to the exclude list. To make this work with legacy versions of sbt, I redefined the excludeLintKeys key. Once we update the build.properties to a 1.4.x version, we can drop the `val excludeLint` definition and replace `excludeLint` with `excludeLintKeys`. Side note: ++= does not work with excludeLintKeys which is why I used += for the excludes.