From 6a021a8598029de5cc57412b038063c1910c342a Mon Sep 17 00:00:00 2001 From: Jeff May Date: Tue, 25 Sep 2018 17:23:26 -0700 Subject: [PATCH] Yet another fix of the build configs --- build.sbt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/build.sbt b/build.sbt index ca5cae5..cfdc6a4 100644 --- a/build.sbt +++ b/build.sbt @@ -24,8 +24,9 @@ publishLocal := {} */ val suppressNameCheckUntilNextMajorVersion = semVerCheck := { version.value.split('.') match { - case Array("0", minor, _*) if minor.toInt <= 1 => - case _ => + case Array("0", minor, _*) if minor.toInt < 2 => + case Array("0", "2", "0", _*) => + case _ => // anything > 0.2.0 throw new IllegalStateException("Version bump! It's time to re-enable semantic version validation.") } } @@ -37,8 +38,6 @@ def commonProject(id: String, path: String): Project = { sources in(Compile, doc) := Seq.empty, publishArtifact in packageDoc := false, - publishMavenStyle := false, - scalacOptions := scalacOptions.value .filterNot(_ == "-deprecation") ++ Seq( "-feature",