diff --git a/build.sbt b/build.sbt index a6466d54..b60654b0 100644 --- a/build.sbt +++ b/build.sbt @@ -13,15 +13,16 @@ ThisBuild / credentials += Credentials( sys.env.getOrElse("GITHUB_TOKEN", "") ) -ThisBuild/homepage := Some(url("https://github.com/raw-labs/kiama/")) -ThisBuild/organization := "com.raw-labs" -ThisBuild/organizationName := "RAW Labs SA" -ThisBuild/organizationHomepage := Some(url("https://www.raw-labs.com/")) +ThisBuild / homepage := Some(url("https://github.com/raw-labs/kiama/")) +ThisBuild / organization := "com.raw-labs" +ThisBuild / organizationName := "RAW Labs SA" +ThisBuild / organizationHomepage := Some(url("https://www.raw-labs.com/")) -ThisBuild/scalaVersion := "2.13.7" -ThisBuild/crossScalaVersions := Seq("3.1.3", "2.13.7", "2.12.18", "2.11.12") +ThisBuild / scalaVersion := "2.13.7" +ThisBuild / crossScalaVersions := Seq("3.1.3", "2.13.7", "2.12.18", "2.11.12") -ThisBuild/scalacOptions := { +ThisBuild / versionScheme := Some("semver-spec") +ThisBuild / scalacOptions := { // Turn on all lint warnings, except: // - stars-align: incorrectly reports problems if pattern matching of // unapplySeq extractor doesn't match sequence directly