Skip to content

Commit 718c019

Browse files
committed
Update MiMa settings
1 parent 5eab2f5 commit 718c019

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ For most use cases you should add Scala2PlantUML as a global plugin since your b
3333
Create `~/.sbt/1.0/plugins/scala2PlantUML.sbt` containing:
3434

3535
```text
36-
addSbtPlugin("nz.co.bottech" % "sbt-scala2plantuml" % "0.0.0+68-e3997b1f+20210305-1242-SNAPSHOT")
36+
addSbtPlugin("nz.co.bottech" % "sbt-scala2plantuml" % "0.1.0")
3737
```
3838

3939
## CLI
@@ -49,7 +49,7 @@ cs install --channel https://git.io/Jqv1i scala2plantuml
4949
### Usage
5050

5151
```text
52-
Scala2PlantUML version 0.0.0+68-e3997b1f+20210305-1242-SNAPSHOT
52+
Scala2PlantUML version 0.1.0
5353
Usage: scala2plantuml [options] symbol
5454
5555
Scala2PlantUML generates PlantUML Class Diagrams from Scala SemanticDB files.

build.sbt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ inThisBuild(
8484

8585
val commonProjectSettings = List(
8686
isScala213 := isScala213Setting.value,
87+
// TODO: Remove this after the first release.
88+
mimaFailOnNoPrevious := false,
8789
mimaPreviousArtifacts := previousStableVersion.value.map(organization.value %% moduleName.value % _).toSet,
8890
scalastyleFailOnError := true,
8991
scalastyleFailOnWarning := true,
@@ -193,7 +195,7 @@ lazy val docs = (project in file("doc-templates"))
193195
},
194196
mdocOut := (ThisBuild / baseDirectory).value,
195197
mdocVariables := Map(
196-
"VERSION" -> version.value
198+
"VERSION" -> previousStableVersion.value.getOrElse(version.value)
197199
),
198200
unusedCompileDependenciesFilter -= new ModuleFilter {
199201

0 commit comments

Comments
 (0)