Skip to content

Commit

Permalink
reuse smithyclasspathDir
Browse files Browse the repository at this point in the history
  • Loading branch information
daddykotex committed Jan 5, 2024
1 parent c746b50 commit d4ca86f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ lazy val smithyClasspathSettings = Def.settings(
Universal / mappings ++= {
val depRes = dependencyResolution.value
val artifacts = smithyClasspath.value
val smithyClasspathOutput = target.value / "smithy-classpath"
val smithyClasspathValue = smithyClasspathDir.value
val smithyClasspathOutput = target.value / smithyClasspathValue
val logger = sLog.value
val resolved = artifacts.flatMap { module =>
depRes.retrieve(module, None, target.value, logger) match {
Expand All @@ -88,7 +89,6 @@ lazy val smithyClasspathSettings = Def.settings(
case Right(value) => value.headOption.map(f => module -> f)
}
}
val smithyClasspathValue = smithyClasspathDir.value

val entries: Seq[SmithyClasspathEntry] =
resolved.map { case (module, file) =>
Expand Down

0 comments on commit d4ca86f

Please sign in to comment.