mirror of https://github.com/sbt/sbt.git
lm-coursier-shaded 2.0.0-RC6-8
https://github.com/coursier/sbt-coursier/releases/tag/v2.0.0-RC6-5 https://github.com/coursier/sbt-coursier/releases/tag/v2.0.0-RC6-6 https://github.com/coursier/sbt-coursier/releases/tag/v2.0.0-RC6-7 https://github.com/coursier/sbt-coursier/releases/tag/v2.0.0-RC6-8 Ref https://github.com/coursier/sbt-coursier/pull/235 Ref https://github.com/coursier/sbt-coursier/pull/262
This commit is contained in:
parent
e66282433a
commit
2bebee4dfe
|
|
@ -40,7 +40,6 @@ object CoursierInputsTasks {
|
|||
private def coursierProject0(
|
||||
projId: ModuleID,
|
||||
dependencies: Seq[ModuleID],
|
||||
excludeDeps: Seq[InclExclRule],
|
||||
configurations: Seq[sbt.librarymanagement.Configuration],
|
||||
sv: String,
|
||||
sbv: String,
|
||||
|
|
@ -50,9 +49,7 @@ object CoursierInputsTasks {
|
|||
log: Logger
|
||||
): CProject = {
|
||||
|
||||
val exclusions0 = Inputs.exclusions(excludeDeps, sv, sbv, log)
|
||||
|
||||
val configMap = Inputs.configExtends(configurations)
|
||||
val configMap = Inputs.configExtendsSeq(configurations).toMap
|
||||
|
||||
val proj0 = FromSbt.project(
|
||||
projId,
|
||||
|
|
@ -61,18 +58,14 @@ object CoursierInputsTasks {
|
|||
sv,
|
||||
sbv
|
||||
)
|
||||
val proj1 = proj0.withDependencies(proj0.dependencies.map {
|
||||
case (config, dep) =>
|
||||
(config, dep.withExclusions(dep.exclusions ++ exclusions0))
|
||||
})
|
||||
val proj2 = auOpt match {
|
||||
val proj1 = auOpt match {
|
||||
case Some(au) =>
|
||||
val props = proj1.properties :+ ("info.apiURL" -> au.toString)
|
||||
proj1.withProperties(props)
|
||||
case _ => proj1
|
||||
val props = proj0.properties :+ ("info.apiURL" -> au.toString)
|
||||
proj0.withProperties(props)
|
||||
case _ => proj0
|
||||
}
|
||||
proj2.withInfo(
|
||||
proj2.info.withDescription(description).withHomePage(homepage.fold("")(_.toString))
|
||||
proj1.withInfo(
|
||||
proj1.info.withDescription(description).withHomePage(homepage.fold("")(_.toString))
|
||||
)
|
||||
}
|
||||
|
||||
|
|
@ -81,7 +74,6 @@ object CoursierInputsTasks {
|
|||
coursierProject0(
|
||||
projectID.value,
|
||||
allDependencies.value,
|
||||
allExcludeDependencies.value,
|
||||
ivyConfigurations.value,
|
||||
scalaVersion.value,
|
||||
scalaBinaryVersion.value,
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ object Dependencies {
|
|||
def addSbtZincCompile = addSbtModule(sbtZincPath, "zincCompileJVM2_12", zincCompile)
|
||||
def addSbtZincCompileCore = addSbtModule(sbtZincPath, "zincCompileCoreJVM2_12", zincCompileCore)
|
||||
|
||||
val lmCoursierShaded = "io.get-coursier" %% "lm-coursier-shaded" % "2.0.0-RC6-4"
|
||||
val lmCoursierShaded = "io.get-coursier" %% "lm-coursier-shaded" % "2.0.0-RC6-8"
|
||||
|
||||
def sjsonNew(n: String) =
|
||||
Def.setting("com.eed3si9n" %% n % "0.9.0") // contrabandSjsonNewVersion.value
|
||||
|
|
|
|||
Loading…
Reference in New Issue