Skip to content

Commit 63ccf3d

Browse files
committed
autocommit: Update configuration to record version 0.1.1
1 parent 6ed493d commit 63ccf3d

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

build.sbt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,20 @@ lazy val root = project
1919
),
2020
scalacOptions ++= allScalacOptions,
2121
)
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

Comments
 (0)