mirror of
https://github.com/sbt/sbt.git
synced 2026-08-22 06:07:24 +02:00
Fix bintray resolvers syntax
Example of options that can be supplied to CLI tools:
-r bintray:scalaz/maven
This commit is contained in:
@@ -136,7 +136,7 @@ object Parse {
|
|||||||
else if (s.startsWith("sonatype:"))
|
else if (s.startsWith("sonatype:"))
|
||||||
MavenRepository(s"https://oss.sonatype.org/content/repositories/${s.stripPrefix("sonatype:")}").right
|
MavenRepository(s"https://oss.sonatype.org/content/repositories/${s.stripPrefix("sonatype:")}").right
|
||||||
else if (s.startsWith("bintray:"))
|
else if (s.startsWith("bintray:"))
|
||||||
MavenRepository(s"https://dl.bintray.com/${s.stripPrefix("bintray:")}/maven").right
|
MavenRepository(s"https://dl.bintray.com/${s.stripPrefix("bintray:")}").right
|
||||||
else if (s.startsWith("typesafe:ivy-"))
|
else if (s.startsWith("typesafe:ivy-"))
|
||||||
IvyRepository.fromPattern(
|
IvyRepository.fromPattern(
|
||||||
(s"https://repo.typesafe.com/typesafe/ivy-" + s.stripPrefix("typesafe:ivy-") + "/") +:
|
(s"https://repo.typesafe.com/typesafe/ivy-" + s.stripPrefix("typesafe:ivy-") + "/") +:
|
||||||
|
|||||||
Reference in New Issue
Block a user