Skip to content

Commit 653f76a

Browse files
committed
Fix Sonatype repository
1 parent a74901f commit 653f76a

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
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.7")
39+
addSbtPlugin("nz.co.bottech" % "sbt-scala2plantuml" % "0.1.8")
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.7
55+
Scala2PlantUML version 0.1.8
5656
Usage: scala2plantuml [options] symbol
5757
5858
Scala2PlantUML generates PlantUML Class Diagrams from Scala SemanticDB files.

build.sbt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,6 @@ 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-
4542
inThisBuild(
4643
List(
4744
crossScalaVersions := supportedScalaVersions,
@@ -90,7 +87,7 @@ inThisBuild(
9087
// This needs to be set otherwise the GitHub workflow plugin gets confused about which
9188
// version to use for the publish job.
9289
scalaVersion := scala212,
93-
versionPolicyFirstVersion := Some("0.1.7"),
90+
versionPolicyFirstVersion := Some("0.1.8"),
9491
versionPolicyIntention := Compatibility.BinaryAndSourceCompatible,
9592
versionScheme := Some("early-semver")
9693
)
@@ -126,7 +123,10 @@ lazy val root = (project in file("."))
126123
.settings(metaProjectSettings)
127124
.settings(
128125
crossScalaVersions := supportedScalaVersions,
129-
name := "scala2plantuml"
126+
name := "scala2plantuml",
127+
// Workaround for https://github.com/olafurpg/sbt-ci-release/issues/181
128+
sonatypeCredentialHost := "s01.oss.sonatype.org",
129+
sonatypeRepository := "https://s01.oss.sonatype.org/service/local"
130130
)
131131

132132
lazy val core = project

0 commit comments

Comments
 (0)