Skip to content

Commit 73da814

Browse files
committed
autocommit: Update configuration to record version 0.1.3
1 parent 40ee9eb commit 73da814

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

build.sbt

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,21 @@ lazy val root = project
2323
),
2424
scalacOptions ++= allScalacOptions,
2525
crossScalaVersions := supportedScalaVersions,
26+
credentials += Credentials(
27+
"Artifactory Realm",
28+
"flow.jfrog.io",
29+
System.getenv("ARTIFACTORY_USERNAME"),
30+
System.getenv("ARTIFACTORY_PASSWORD")
31+
),
2632
)
27-
version := "0.1.2"
33+
34+
publishTo := {
35+
val host = "https://flow.jfrog.io/flow"
36+
if (isSnapshot.value) {
37+
Some("Artifactory Realm" at s"$host/libs-snapshot-local;build.timestamp=" + new java.util.Date().getTime)
38+
} else {
39+
Some("Artifactory Realm" at s"$host/libs-release-local")
40+
}
41+
}
42+
43+
version := "0.1.3"

0 commit comments

Comments
 (0)