Skip to content

Commit 6bf1738

Browse files
author
JeanMarc van Leerdam
committed
move the sonaDeploymentName setting
1 parent e567390 commit 6bf1738

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

build.sbt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,21 +56,21 @@ lazy val root = project.in(file("."))
5656
commonSettings,
5757
// the root project should not produce any artifacts
5858
publishArtifact := false,
59-
publish := {}
59+
publish := {},
60+
sonaDeploymentName := {
61+
val o = organization.value
62+
val n = "sbt-azure-functions"
63+
val v = version.value
64+
val dt = java.time.LocalDateTime.now.format(java.time.format.DateTimeFormatter.ofPattern("yyyyMMdd_HHmmss"))
65+
s"$o:$n:$v:$dt"
66+
},
6067
)
6168

6269
lazy val plugin = project.in(file("plugin"))
6370
.enablePlugins(SbtPlugin)
6471
.settings(
6572
name := "sbt-azure-functions",
6673
commonSettings,
67-
sonaDeploymentName := {
68-
val o = organization.value
69-
val n = name.value
70-
val v = version.value
71-
val dt = java.time.LocalDateTime.now.format(java.time.format.DateTimeFormatter.ofPattern("yyyyMMdd_HHmmss"))
72-
s"$o:$n:$v:$dt"
73-
},
7474

7575
scalaVersion := "2.12.18",
7676
pluginCrossBuild / sbtVersion := {

0 commit comments

Comments
 (0)