Skip to content

Commit 206a7c1

Browse files
ScalaWilliamckipp01
authored andcommitted
Add sbt-vspp for publishing the SBT plug-in in a Maven-consistent format
This is to enable usage of sbt-scoverage in Enterprise environments where only the valid-POM format is accepted for JAR downloads, enabling it for many teams to move from Gradle/Maven to SBT for their Scala (and even non-Scala projects) More background here: https://github.com/esbeetee/sbt-vspp/blob/main/README.md
1 parent 36fd3a7 commit 206a7c1

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ In `project/plugins.sbt`:
1919
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "x.x.x")
2020
```
2121

22+
If you are in an enterprise environment, and the above does not work, try:
23+
```scala
24+
libraryDependencies += "org.scoverage" % "sbt-scoverage_2.12_1.0" % "x.x.x"
25+
```
26+
2227
## Usage
2328

2429
Run the tests with enabled coverage:

project/plugins.sbt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ libraryDependencies += "org.scala-sbt" %% "scripted-plugin" % sbtVersion.value
22
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.10")
33
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.11.0")
44
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.6")
5+
addSbtPlugin("com.scalawilliam.esbeetee" % "sbt-vspp" % "0.4.11")

0 commit comments

Comments
 (0)