We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f176979 commit 828689aCopy full SHA for 828689a
build.sbt
@@ -1,3 +1,4 @@
1
+import java.util.UUID
2
3
lazy val root = project.in(file("."))
4
.withId("sbt-findsecbugs")
@@ -84,3 +85,11 @@ ThisBuild / publishTo := {
84
85
if (isSnapshot.value) Some("central-snapshots" at centralSnapshots)
86
else localStaging.value
87
}
88
+
89
+ThisBuild / sonaDeploymentName := {
90
+ val o = organization.value
91
+ val n = name.value
92
+ val v = version.value
93
+ val uuid = UUID.randomUUID().toString.take(8)
94
+ s"$o:$n:$v:$uuid"
95
+ }
0 commit comments