diff --git a/modules/codegen/src/smithy4s/codegen/SmithyBuildJson.scala b/modules/codegen/src/smithy4s/codegen/SmithyBuildJson.scala index ab0538f96..6485a51c4 100644 --- a/modules/codegen/src/smithy4s/codegen/SmithyBuildJson.scala +++ b/modules/codegen/src/smithy4s/codegen/SmithyBuildJson.scala @@ -26,7 +26,8 @@ import scala.collection.immutable.ListSet private[codegen] object SmithyBuildJson { - val protocolDependency = s"com.disneystreaming.smithy4s:smithy4s-protocol:${BuildInfo.version}" + val protocolDependency = + s"com.disneystreaming.smithy4s:smithy4s-protocol:${BuildInfo.version}" def toJson( sources: ListSet[String], @@ -38,7 +39,7 @@ private[codegen] object SmithyBuildJson { version = "1.0", sources, SmithyBuildMaven( - dependencies+protocolDependency, + dependencies + protocolDependency, repositories.map(SmithyBuildMavenRepository.apply) ) ) diff --git a/modules/codegen/test/src/smithy4s/codegen/internals/SmithyBuildSpec.scala b/modules/codegen/test/src/smithy4s/codegen/internals/SmithyBuildSpec.scala index b9e687875..89c6a5e35 100644 --- a/modules/codegen/test/src/smithy4s/codegen/internals/SmithyBuildSpec.scala +++ b/modules/codegen/test/src/smithy4s/codegen/internals/SmithyBuildSpec.scala @@ -16,7 +16,7 @@ package smithy4s.codegen.internals -import smithy4s.codegen.{SmithyBuildJson,BuildInfo} +import smithy4s.codegen.{SmithyBuildJson, BuildInfo} import software.amazon.smithy.model.shapes.ShapeId import software.amazon.smithy.openapi.OpenApiVersion @@ -211,22 +211,22 @@ final class SmithyBuildSpec extends munit.FunSuite { assertEquals( actual, s"""|{ - | "version" : "1.0", - | "sources" : [ - | "src/" - | ], - | "maven" : { - | "dependencies" : [ - | "dep", - | "com.disneystreaming.smithy4s:smithy4s-protocol:${BuildInfo.version}" - | ], - | "repositories" : [ - | { - | "url" : "repo" - | } - | ] - | } - |}""".stripMargin + | "version" : "1.0", + | "sources" : [ + | "src/" + | ], + | "maven" : { + | "dependencies" : [ + | "dep", + | "com.disneystreaming.smithy4s:smithy4s-protocol:${BuildInfo.version}" + | ], + | "repositories" : [ + | { + | "url" : "repo" + | } + | ] + | } + |}""".stripMargin ) } }