Skip to content

Commit

Permalink
Don't publish docs project in 2.11
Browse files Browse the repository at this point in the history
  • Loading branch information
olafurpg committed Feb 21, 2019
1 parent 014548f commit 6882253
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,9 @@ lazy val docs = project
.in(file("mdoc-docs"))
.settings(
moduleName := "mdoc-docs",
skip in publish := version.in(ThisBuild).value.endsWith("-SNAPSHOT"),
skip in publish :=
!scalaVersion.value.startsWith("2.12") ||
version.in(ThisBuild).value.endsWith("-SNAPSHOT"),
mdocAutoDependency := false,
resolvers += Resolver.bintrayRepo("cibotech", "public"),
libraryDependencies ++= List(
Expand Down

0 comments on commit 6882253

Please sign in to comment.