From 188f3cb79068d3757c2ff9315fca9f695e31e386 Mon Sep 17 00:00:00 2001 From: Eugene Yokota Date: Fri, 18 Oct 2024 02:04:57 -0400 Subject: [PATCH] Increase the memory for proguard --- .github/workflows/ci.yml | 2 +- build.sbt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 125cd5e..c428429 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,6 +30,6 @@ jobs: uses: sbt/setup-sbt@v1 - name: Build and test run: | - sbt -v "mimaReportBinaryIssues; scalafmtSbtCheck; scalafmtCheckAll; shadedPackageBin; test;" + sbt -v "mimaReportBinaryIssues; scalafmtSbtCheck; scalafmtCheckAll; packageBin; shadedPackageBin; test;" ci-test/test.sh shell: bash diff --git a/build.sbt b/build.sbt index 00c90ee..cfd3449 100644 --- a/build.sbt +++ b/build.sbt @@ -125,6 +125,7 @@ lazy val launchSub = (project in file("launcher-implementation")) ) keepFullClasses := "xsbti.**" :: Nil + Proguard / proguard / javaOptions := Seq("-Xmx1G") Proguard / proguardOptions ++= keepFullClasses.value map ("-keep public class " + _ + " {\n\tpublic protected * ;\n}") Proguard / proguardInputFilter := { file => file.name match {