Skip to content

3.0.0

Latest

Choose a tag to compare

@yarosman yarosman released this 30 Jun 21:59
8a8d572

Release Notes

Highlights

  • Added sbt 2.0 support alongside the existing sbt 1.x line.
  • Moved the plugin to the new Maven coordinate:
    io.github.yarosman:sbt-sonar
  • Updated project metadata to the new repository:
    https://github.com/yarosman/sbt-sonar
  • Migrated release publishing from legacy OSSRH-era setup to current sbt-ci-release / Maven Central Portal-compatible defaults.
  • Replaced the old CircleCI release path with GitHub Actions.

Build And Publishing

  • Upgraded the build from sbt 1.5.2 to sbt 1.12.13.
  • Added cross-publishing for:
    • sbt 1.x / Scala 2.12.21
    • sbt 2.0 / Scala 3.8.4
  • Added sbt2-compat for sbt 1/2 source compatibility.
  • Removed deprecated sbt-sonatype.
  • Upgraded build plugins:
    • sbt-ci-release to 1.11.2
    • sbt-header to 5.11.0
    • sbt-scalafmt to 2.6.1
  • Updated publishing metadata:
    • organization: io.github.yarosman
    • homepage: https://github.com/yarosman/sbt-sonar
    • SCM: yarosman/sbt-sonar
    • developer metadata now points to yarosman

Compatibility Changes

  • Removed support for sbt 0.13.
  • Removed legacy Scala 2.11 scripted coverage.
  • Retained sbt 1.x coverage and added sbt 2.0 scripted fixtures.
  • Updated source compatibility for modern sbt syntax and Scala versions:
    • slash syntax for scoped sbt keys
    • scala.jdk.CollectionConverters
    • Def.uncached for task compatibility
    • unified SbtCompat helper

Dependency Updates

  • Updated sonar-scanner-api to 2.16.3.1081.
  • Updated ScalaTest to 3.2.10.
  • Replaced legacy Mockito test dependencies with mockito-scala-scalatest.
  • Updated scripted fixture plugins:
    • sbt-scoverage to 2.4.4
    • sbt-scapegoat to org.johnnei.scapegoat 1.3.12

Test Matrix

  • Added sbt 2.0 scripted fixtures for:
    • basic sbt 2.0 smoke coverage
    • external config wiring
    • multi-module projects
    • multi-module projects not rooted at the build root
  • Adjusted scripted tests so sbt 2.0 fixtures verify task/property wiring without requiring a live SonarQube server.
  • Kept sbt 1.x scripted scenarios that run sonarScan against the expected local SonarQube setup.

Repository Metadata

  • Removed old sonar-scala project badges, Maven links, Gitter link, Bintray link, and external documentation link from the README.
  • Updated README badges to target:
    • yarosman/sbt-sonar
    • io.github.yarosman:sbt-sonar

Removed

  • CircleCI configuration.
  • sbt 0.13 compatibility source directory.
  • Scala 2.11 scripted fixture.
  • Legacy OSSRH host configuration.
  • Deprecated sbt-sonatype plugin.