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 6ed493d commit 63ccf3dCopy full SHA for 63ccf3d
build.sbt
@@ -19,3 +19,20 @@ lazy val root = project
19
),
20
scalacOptions ++= allScalacOptions,
21
)
22
+
23
+credentials += Credentials(
24
+ "Artifactory Realm",
25
+ "flow.jfrog.io",
26
+ System.getenv("ARTIFACTORY_USERNAME"),
27
+ System.getenv("ARTIFACTORY_PASSWORD"),
28
+)
29
30
+publishTo := {
31
+ val host = "https://flow.jfrog.io/flow"
32
+ if (isSnapshot.value) {
33
+ Some("Artifactory Realm" at s"$host/libs-snapshot-local;build.timestamp=" + new java.util.Date().getTime)
34
+ } else {
35
+ Some("Artifactory Realm" at s"$host/libs-release-local")
36
+ }
37
+}
38
+version := "0.1.1"
0 commit comments