Skip to content

Commit

Permalink
New syntax for sbt property access to remove deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathonherbert committed Mar 15, 2023
1 parent d94cd62 commit df4a7ea
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ val scala213 = "2.13.8"
val commonSettings =
Seq(
scalaVersion := scala212,
scalaVersion in ThisBuild := scala212,
ThisBuild / scalaVersion := scala212,
crossScalaVersions := Seq(scalaVersion.value, scala213),
organization := "com.gu",
fork in Test := false,
Test / fork := false,
resolvers ++= Seq("Typesafe Repository" at "https://repo.typesafe.com/typesafe/releases/"),
scalacOptions ++= Seq("-feature", "-deprecation", "-language:higherKinds", "-Xfatal-warnings"),
publishArtifact := false
Expand Down Expand Up @@ -110,7 +110,7 @@ lazy val exampleApp = project("pan-domain-auth-example")
.settings(sonatypeReleaseSettings: _*)
.settings(
publishArtifact := false,
skip in publish := true,
publish / skip := true,
playDefaultPort := 9500
)

Expand All @@ -123,7 +123,7 @@ lazy val root = Project("pan-domain-auth-root", file(".")).aggregate(
).settings(sonatypeReleaseSettings: _*).settings(
organization := "com.gu",
publishArtifact := false,
skip in publish := true,
publish / skip := true,
)

def project(path: String): Project =
Expand Down

0 comments on commit df4a7ea

Please sign in to comment.