Skip to content

Commit 176fbf6

Browse files
committed
fix: deprecated syntax in sbt
1 parent 172d443 commit 176fbf6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

build.sbt

+5-5
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@ lazy val noPublishSettings = Seq(
2727

2828
lazy val publishPackages = Seq(
2929
isSnapshot := version.value endsWith "SNAPSHOT",
30-
publishTo in ThisBuild := sonatypePublishToBundle.value,
30+
ThisBuild / publishTo := sonatypePublishToBundle.value,
3131
publishMavenStyle := true,
32-
publishArtifact in Test := false,
33-
publishArtifact in (Compile, packageDoc) := true,
34-
publishArtifact in (Compile, packageSrc) := true,
32+
Test / publishArtifact := false,
33+
Compile / packageDoc / publishArtifact := true,
34+
Compile / packageSrc / publishArtifact := true,
3535
pomIncludeRepository := { _ => false },
3636
sonatypeTimeoutMillis := 3 * 60 * 60 * 1000,
3737
publishConfiguration := publishConfiguration.value.withOverwrite(true),
3838
publishLocalConfiguration := publishLocalConfiguration.value.withOverwrite(true),
3939
homepage := Some(url("https://github.com/ignission")),
40-
sources in (Compile, doc) := Seq.empty,
40+
Compile / doc / sources := Seq.empty,
4141
licenses := Seq("MIT" -> url("https://opensource.org/licenses/MIT")),
4242
scmInfo := Some(
4343
ScmInfo(

0 commit comments

Comments
 (0)