mirror of https://github.com/sbt/sbt.git
Switch to coursier 2.0.0-RC3-1 (#108)
This commit is contained in:
parent
4a27bd42bc
commit
aa53418218
|
|
@ -15,7 +15,7 @@ inThisBuild(List(
|
|||
)
|
||||
))
|
||||
|
||||
val coursierVersion0 = "2.0.0-RC2-6"
|
||||
val coursierVersion0 = "2.0.0-RC3-1"
|
||||
|
||||
lazy val `lm-coursier` = project
|
||||
// .enablePlugins(ContrabandPlugin)
|
||||
|
|
|
|||
|
|
@ -95,7 +95,8 @@ object ToCoursier {
|
|||
dt.minute,
|
||||
dt.second
|
||||
)
|
||||
}
|
||||
},
|
||||
None // TODO Add scm field in lmcoursier.definitions.Info?
|
||||
)
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -41,9 +41,11 @@ check := {
|
|||
)
|
||||
|
||||
def containsRepo(repo: String): Boolean = {
|
||||
parsedCoursierResolvers.collectFirst {
|
||||
case m: coursier.maven.MavenRepository if m.root == repo => true
|
||||
}.exists{ _ == true }
|
||||
val accepted = Set(repo, repo.stripSuffix("/"))
|
||||
parsedCoursierResolvers.exists {
|
||||
case m: coursier.maven.MavenRepository => accepted(m.root)
|
||||
case _ => false
|
||||
}
|
||||
}
|
||||
|
||||
assert(containsRepo("s3://s3-us-west-2.amazonaws.com/bucket-name/snapshots/"),
|
||||
|
|
|
|||
Loading…
Reference in New Issue