8000 Publish with Java 11 · BotTech/scala2plantuml@9092e93 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9092e93

Browse files
committed
Publish with Java 11
1 parent ac1ea64 commit 9092e93

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
matrix:
2525
os: [ubuntu-latest]
2626
scala: [2.12.13, 2.13.4]
27-
java: [adopt@1.8]
27+
java: [adopt@1.11, adopt@1.8]
2828
runs-on: ${{ matrix.os }}
2929
steps:
3030
- name: Checkout current branch (full)
@@ -88,7 +88,7 @@ jobs:
8888
matrix:
8989
os: [ubuntu-latest]
9090
scala: [2.12.13]
91-
java: [adopt@1.8]
91+
java: [adopt@1.11]
9292
runs-on: ${{ matrix.os }}
9393
steps:
9494
- name: Checkout current branch (full)

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

build.sbt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ inThisBuild(
7070
cond = Some(s"""matrix.scala == '$scala212'""")
7171
)
7272
),
73+
// The first of these is the version for the publish job which has to be 9+
74+
// because of https://github.com/xerial/sbt-sonatype/issues/216
75+
githubWorkflowJavaVersions := List("adopt@1.11", "adopt@1.8"),
7376
githubWorkflowPublish := List(
7477
WorkflowStep.Sbt(
7578
List("ci-release"),
@@ -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.10"),
93+
versionPolicyFirstVersion := Some("0.1.11"),
9194
versionPolicyIntention := Compatibility.BinaryAndSourceCompatible,
9295
versionScheme := Some("early-semver")
9396
)

0 commit comments

Comments
 (0)
0