Skip to content

Commit

Permalink
advertize versioning policy in published artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
bjaglin committed Oct 16, 2022
1 parent b71c0d8 commit 7aa676c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ inThisBuild(
"olafurpg@gmail.com",
url("https://geirsson.com")
),
resolvers += Resolver.sonatypeRepo("snapshots")
resolvers += Resolver.sonatypeRepo("snapshots"),
versionScheme := Some("early-semver")
)
)

Expand Down Expand Up @@ -251,7 +252,9 @@ lazy val docs = project
),
mdocOut :=
baseDirectory.in(ThisBuild).value / "website" / "target" / "docs",
mdocExtraArguments := List("--no-link-hygiene")
mdocExtraArguments := List("--no-link-hygiene"),
// mdoc's metaconfig might (and will eventually) lag behind the current version, causing eviction errors
evictionErrorLevel := Level.Warn
)
.dependsOn(coreJVM, typesafe, sconfigJVM)
.enablePlugins(DocusaurusPlugin)
Expand Down

0 comments on commit 7aa676c

Please sign in to comment.