Skip to content

Commit a74901f

Browse files
committed
Fix Sonatype repository
1 parent 9028d54 commit a74901f

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

README.md

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

3838
```text
39-
addSbtPlugin("nz.co.bottech" % "sbt-scala2plantuml" % "0.1.6")
39+
addSbtPlugin("nz.co.bottech" % "sbt-scala2plantuml" % "0.1.7")
4040
```
4141

4242
## CLI
@@ -52,7 +52,7 @@ cs install --channel https://git.io/Jqv1i scala2plantuml
5252
### Usage
5353

5454
```text
55-
Scala2PlantUML version 0.1.6
55+
Scala2PlantUML version 0.1.7
5656
Usage: scala2plantuml [options] symbol
5757
5858
Scala2PlantUML generates PlantUML Class Diagrams from Scala SemanticDB files.

build.sbt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ addCommandAlias(
3939

4040
val isScala213 = settingKey[Boolean]("Checks if the current Scala version is 2.13")
4141

42+
Global / sonatypeCredentialHost := "s01.oss.sonatype.org"
43+
Global / sonatypeRepository := "https://s01.oss.sonatype.org/service/local"
44+
4245
inThisBuild(
4346
List(
4447
crossScalaVersions := supportedScalaVersions,
@@ -87,7 +90,7 @@ inThisBuild(
8790
// This needs to be set otherwise the GitHub workflow plugin gets confused about which
8891
// version to use for the publish job.
8992
scalaVersion := scala212,
90-
versionPolicyFirstVersion := Some("0.1.6"),
93+
versionPolicyFirstVersion := Some("0.1.7"),
9194
versionPolicyIntention := Compatibility.BinaryAndSourceCompatible,
9295
versionScheme := Some("early-semver")
9396
)
@@ -97,8 +100,6 @@ val commonProjectSettings = List(
97100
isScala213 := isScala213Setting.value,
98101
scalastyleFailOnError := true,
99102
scalastyleFailOnWarning := true,
100-
sonatypeCredentialHost := "s01.oss.sonatype.org",
101-
sonatypeRepository := "https://s01.oss.sonatype.org/service/local",
102103
// Workaround for https://github.com/cb372/sbt-explicit-dependencies/issues/97
103104
undeclaredCompileDependenciesFilter -= moduleFilter("com.thesamet.scalapb", "scalapb-runtime"),
104105
Compile / compile / wartremoverErrors := {

0 commit comments

Comments
 (0)