@@ -27,17 +27,17 @@ lazy val noPublishSettings = Seq(
27
27
28
28
lazy val publishPackages = Seq (
29
29
isSnapshot := version.value endsWith " SNAPSHOT" ,
30
- publishTo in ThisBuild := sonatypePublishToBundle.value,
30
+ ThisBuild / publishTo := sonatypePublishToBundle.value,
31
31
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 ,
35
35
pomIncludeRepository := { _ => false },
36
36
sonatypeTimeoutMillis := 3 * 60 * 60 * 1000 ,
37
37
publishConfiguration := publishConfiguration.value.withOverwrite(true ),
38
38
publishLocalConfiguration := publishLocalConfiguration.value.withOverwrite(true ),
39
39
homepage := Some (url(" https://github.com/ignission" )),
40
- sources in ( Compile , doc) := Seq .empty,
40
+ Compile / doc / sources := Seq .empty,
41
41
licenses := Seq (" MIT" -> url(" https://opensource.org/licenses/MIT" )),
42
42
scmInfo := Some (
43
43
ScmInfo (
0 commit comments