mirror of https://github.com/sbt/sbt.git
Check for evictions on CI
This commit is contained in:
parent
e6be0cb7fb
commit
3d9462a6e2
|
|
@ -5,6 +5,7 @@ import sbt._
|
|||
import sbt.Keys._
|
||||
import sbt.ScriptedPlugin.autoImport.{scriptedBufferLog, scriptedLaunchOpts}
|
||||
import sbtcompatibility.SbtCompatibilityPlugin.autoImport._
|
||||
import sbtevictionrules.EvictionRulesPlugin.autoImport._
|
||||
|
||||
import com.jsuereth.sbtpgp._
|
||||
|
||||
|
|
@ -49,7 +50,11 @@ object Settings {
|
|||
"net.java.dev.jna" % "jna*" % "always",
|
||||
"org.apache.logging.log4j" % "log4j-*" % "semver",
|
||||
),
|
||||
compatibilityIgnored += "com.swoval" % "apple-file-events"
|
||||
compatibilityIgnored += "com.swoval" % "apple-file-events",
|
||||
evictionRules ++= Seq(
|
||||
"com.eed3si9n" %% "gigahorse-*" % "semver",
|
||||
"org.scala-lang.modules" %% "*" % "semver"
|
||||
)
|
||||
) ++ {
|
||||
val prop = sys.props.getOrElse("publish.javadoc", "").toLowerCase(Locale.ROOT)
|
||||
if (prop == "0" || prop == "false")
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
addSbtPlugin("com.geirsson" % "sbt-ci-release" % "1.5.3")
|
||||
addSbtPlugin(("io.github.alexarchambault.sbt" % "sbt-compatibility" % "0.0.7").exclude("com.typesafe", "sbt-mima-plugin"))
|
||||
addSbtPlugin("io.github.alexarchambault.sbt" % "sbt-eviction-rules" % "0.2.0")
|
||||
addSbtPlugin("com.github.alexarchambault.tmp" % "sbt-mima-plugin" % "0.7.1-SNAPSHOT")
|
||||
|
||||
addSbtPlugin("io.get-coursier" % "sbt-shading" % "2.0.0")
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ runLmCoursierTests() {
|
|||
# publishing locally to ensure shading runs fine
|
||||
./metadata/scripts/with-test-repo.sh ./sbt \
|
||||
++$TRAVIS_SCALA_VERSION! \
|
||||
evictionCheck \
|
||||
compatibilityCheck \
|
||||
lm-coursier-shaded/publishLocal \
|
||||
lm-coursier/test \
|
||||
|
|
|
|||
Loading…
Reference in New Issue