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 40ee9eb commit 73da814Copy full SHA for 73da814
build.sbt
@@ -23,5 +23,21 @@ lazy val root = project
23
),
24
scalacOptions ++= allScalacOptions,
25
crossScalaVersions := supportedScalaVersions,
26
+ credentials += Credentials(
27
+ "Artifactory Realm",
28
+ "flow.jfrog.io",
29
+ System.getenv("ARTIFACTORY_USERNAME"),
30
+ System.getenv("ARTIFACTORY_PASSWORD")
31
+ ),
32
)
-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