Skip to content

Commit

Permalink
Changed repository URL for downloading Hydra. Fix #27
Browse files Browse the repository at this point in the history
  • Loading branch information
maris123 committed Nov 9, 2017
1 parent a9fa4ef commit 61dc697
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ object HydraDownloader {
Seq(
s"""set scalaVersion := "${version.split("_")(0)}"""",
s"""set credentials := Seq(Credentials("${repositorySettings.repositoryRealm}", "${repositorySettings.repositoryName}", "${repositorySettings.login}", "${repositorySettings.password}"))""",
s"""set resolvers := Seq(Resolver.url("Triplequote Plugins Ivy Releases", url("${repositorySettings.repositoryURL}/ivy-releases/"))(Resolver.ivyStylePatterns), Resolver.url("Triplequote sbt-plugin-relseases", url("${repositorySettings.repositoryURL}/sbt-plugins-release/"))(Resolver.ivyStylePatterns), "Triplequote Plugins Releases" at "${repositorySettings.repositoryURL}/libs-release-local/")""",
s"""set resolvers := Seq("Triplequote Plugins Ivy Releases" at "${repositorySettings.repositoryURL}")""",
s"""set libraryDependencies := Seq("com.triplequote" % "hydra_${version.split("_")(0)}" % "${version.split("_")(1)}", ("com.triplequote" % "hydra-bridge_1_0" % "${version.split("_")(1)}").sources())""",
"updateClassifiers",
"show dependencyClasspath")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ object HydraVersions {
private val CompilerRegex = """.*scala-compiler-(\d+\.\d+\.\d+)(-SNAPSHOT)?\.jar""".r

private val Pattern = ".+>(.*\\d+\\.\\d+\\.\\d+.*)/<.*".r
private val HydraURL = "ivy-releases/com.triplequote/"
private val MinHydraVersion = Version("0.9.5")
private val HardcodedHydraVersions = Seq("0.9.5")
private val HydraURL = "com/triplequote/"
private val MinHydraVersion = Version("0.9.7")
private val HardcodedHydraVersions = Seq(MinHydraVersion.presentation)

private final val Log: Logger = Logger.getInstance(this.getClass.getName)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class HydraApplicationSettingsState {
}

object HydraApplicationSettings {
val DefaultHydraRepositoryUrl = "https://repo.triplequote.com/artifactory/"
val DefaultHydraRepositoryUrl = "https://repo.triplequote.com/artifactory/libs-release/"
val DefaultHydraRepositoryRealm = "Artifactory Realm"
def getInstance(): HydraApplicationSettings = ServiceManager.getService(classOf[HydraApplicationSettings])
}

0 comments on commit 61dc697

Please sign in to comment.