Skip to content

Commit

Permalink
Fix test and give sbt scripted more heap
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunk committed Jan 21, 2025
1 parent ff0ec7f commit 4999a8a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ lazy val root = (project in file("."))
},
scriptedLaunchOpts := {
scriptedLaunchOpts.value ++
Seq("-Xmx2048M", "-Dplugin.version=" + version.value)
Seq("-Xmx4G", "-Dplugin.version=" + version.value)
},
scriptedBufferLog := false,
git.remoteRepo := "[email protected]:commercetools/scraml.git",
Expand Down
4 changes: 2 additions & 2 deletions src/sbt-test/sbt-scraml/json/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ lazy val root = (project in file("."))
ramlFile := Some(file("api/json.raml")),
basePackageName := "scraml",
librarySupport := Set(scraml.libs.CirceJsonSupport(
formats = Map("localDateTime" -> "io.circe.Decoder.decodeLocalDateTime")),
formats = Map("localDateTime" -> "io.circe.Decoder.decodeLocalDateTime"),
imports = Seq("io.circe.Decoder.decodeLocalDateTime") // alternative to formats to provide custom codecs via import
),
)),
defaultEnumVariant := Some("Unknown"),
Compile / sourceGenerators += runScraml,
libraryDependencies += "com.commercetools" %% "sphere-json" % "0.12.5",
Expand Down

0 comments on commit 4999a8a

Please sign in to comment.