From 4999a8a9e2e27677260163856609901b2b25a10b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Brunk?= Date: Mon, 20 Jan 2025 17:00:47 +0100 Subject: [PATCH] Fix test and give sbt scripted more heap --- build.sbt | 2 +- src/sbt-test/sbt-scraml/json/build.sbt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.sbt b/build.sbt index 17923ef..a4a8496 100644 --- a/build.sbt +++ b/build.sbt @@ -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 := "git@github.com:commercetools/scraml.git", diff --git a/src/sbt-test/sbt-scraml/json/build.sbt b/src/sbt-test/sbt-scraml/json/build.sbt index 263ae5b..1965334 100644 --- a/src/sbt-test/sbt-scraml/json/build.sbt +++ b/src/sbt-test/sbt-scraml/json/build.sbt @@ -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",