Skip to content

Commit

Permalink
Merge pull request #320 from guardian/fix-release-process-so-that-it-…
Browse files Browse the repository at this point in the history
…does-not-attempt-to-use-scala-2.12

Fix release so that it does not attempt to use Scala 2.12
  • Loading branch information
rtyley authored Aug 2, 2024
2 parents 94bfc87 + 6574ed3 commit b259991
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ name := "facia-api-client"

description := "Scala client for The Guardian's Facia JSON API"

ThisBuild / scalaVersion := "2.13.14"

val sonatypeReleaseSettings = Seq(
releaseVersion := fromAggregatedAssessedCompatibilityWithLatestRelease().value,
releaseCrossBuild := true, // true if you cross-build the project for multiple Scala versions
Expand All @@ -25,7 +27,6 @@ def artifactProducingSettings(supportScala3: Boolean) = Seq(
organization := "com.gu",
licenses := Seq(License.Apache2),
resolvers ++= Resolver.sonatypeOssRepos("releases"),
scalaVersion := "2.13.14",
crossScalaVersions := Seq(scalaVersion.value) ++ (if (supportScala3) Seq("3.3.3") else Seq.empty),
scalacOptions := Seq(
"-release:8",
Expand Down

0 comments on commit b259991

Please sign in to comment.