bitcoin-s/inThisBuild.sbt

21 lines
536 B
Text
Raw Normal View History

import sbt.Keys.excludeLintKeys
import scala.util.Properties
val scala2_12 = "2.12.12"
2020-10-04 07:42:44 -05:00
val scala2_13 = "2.13.3"
2018-11-28 14:16:03 -05:00
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
)