From 732c4c1fe26178cef3671123fabcbfba29d74138 Mon Sep 17 00:00:00 2001 From: Chris Kipp Date: Sat, 25 Jun 2022 13:21:25 +0200 Subject: [PATCH] dep: bump to scoverage 2.0 --- README.md | 8 +++++--- build.sbt | 2 +- src/sbt-test/scoverage/scala3-bad/build.sbt | 2 +- src/sbt-test/scoverage/scala3-good/build.sbt | 2 +- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index f1ae2d31..06ffa4c4 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,11 @@ [![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.scoverage/sbt-scoverage/badge.svg?kill_cache=1)](https://search.maven.org/artifact/org.scoverage/sbt-scoverage/) [![License](http://img.shields.io/:license-Apache%202-red.svg)](http://www.apache.org/licenses/LICENSE-2.0.txt) -sbt-scoverage is a plugin for sbt that integrates the scoverage code coverage -library. Find out more about -[scoverage here](https://github.com/scoverage/scalac-scoverage-plugin). +sbt-scoverage is an sbt plugin that offers support for Scala code coverage using +[scoverage](https://github.com/scoverage/scalac-scoverage-plugin). This plugin +supports Scala 2.12, 2.13, and 3. + +*NOTE*: that ScalaJS and Scala Native support is limited to Scala 2. ## Setup diff --git a/build.sbt b/build.sbt index 74363412..48f0396e 100644 --- a/build.sbt +++ b/build.sbt @@ -2,7 +2,7 @@ name := "sbt-scoverage" import sbt.ScriptedPlugin.autoImport.scriptedLaunchOpts -lazy val scoverageVersion = "2.0.0-RC2" +lazy val scoverageVersion = "2.0.0" inThisBuild( List( diff --git a/src/sbt-test/scoverage/scala3-bad/build.sbt b/src/sbt-test/scoverage/scala3-bad/build.sbt index 789f2ecd..1eebd0b6 100644 --- a/src/sbt-test/scoverage/scala3-bad/build.sbt +++ b/src/sbt-test/scoverage/scala3-bad/build.sbt @@ -1,6 +1,6 @@ version := "0.1" -scalaVersion := "3.2.0-RC1-bin-20220523-6783853-NIGHTLY" // TODO: Should be updated to stable version on 3.2.0-RC1 release +scalaVersion := "3.2.0-RC1" libraryDependencies += "org.scalameta" %% "munit" % "0.7.29" % Test diff --git a/src/sbt-test/scoverage/scala3-good/build.sbt b/src/sbt-test/scoverage/scala3-good/build.sbt index 14237116..11e62df8 100644 --- a/src/sbt-test/scoverage/scala3-good/build.sbt +++ b/src/sbt-test/scoverage/scala3-good/build.sbt @@ -1,6 +1,6 @@ version := "0.1" -scalaVersion := "3.2.0-RC1-bin-20220523-6783853-NIGHTLY" // TODO: Should be updated to stable version on 3.2.0-RC1 release +scalaVersion := "3.2.0-RC1" libraryDependencies += "org.scalameta" %% "munit" % "0.7.29" % Test