Last active
June 17, 2018 03:23
-
-
Save seahrh/c79e4553a13f0c6b6de961986da4b87c to your computer and use it in GitHub Desktop.
Publish to artifactory
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val artifactoryUrl = "http://host:port/artifactory/sbt-dev" | |
resolvers += "Artifactory" at artifactoryUrl | |
publishTo := Some("Artifactory Realm" at s"$artifactoryUrl;build.timestamp=" | |
+ new java.util.Date().getTime) | |
credentials += Credentials(new File("credentials.properties")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment