Exclude sbt keys that unused (are they really unused?) (#2194)

* Exclude sbt keys that unused (are they really unused?)

* Add comment linking to PR
This commit is contained in:
Chris Stewart 2020-10-15 10:46:31 -05:00 committed by GitHub
parent c104bf11fb
commit 5f3e720c28

View File

@ -1,3 +1,5 @@
import sbt.Keys.excludeLintKeys
import scala.util.Properties
val scala2_12 = "2.12.12"
@ -8,3 +10,11 @@ scalafmtOnCompile in ThisBuild := !Properties.envOrNone("CI").contains("true")
scalaVersion in ThisBuild := scala2_13
crossScalaVersions in ThisBuild := List(scala2_13, scala2_12)
//https://github.com/sbt/sbt/pull/5153
//https://github.com/bitcoin-s/bitcoin-s/pull/2194
excludeLintKeys in Global ++= Set(
com.typesafe.sbt.packager.Keys.maintainer,
Keys.mainClass,
com.typesafe.sbt.SbtGit.GitKeys.gitRemoteRepo
)