Skip to content

Commit

Permalink
Merge pull request #6 from rallyhealth/another-build-fix
Browse files Browse the repository at this point in the history
Yet another fix of the build configs
  • Loading branch information
jeffmay authored Sep 26, 2018
2 parents 78a7a09 + 6a021a8 commit 85f79ad
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
}
}
Expand All @@ -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",
Expand Down

0 comments on commit 85f79ad

Please sign in to comment.