From 837752b1c3b7f8ae9eaec4f840f7e3d56ca247ed Mon Sep 17 00:00:00 2001 From: Johannes Rudolph Date: Mon, 29 Jan 2024 10:49:58 +0100 Subject: [PATCH] disable inlining for now as it is not save or efficient in development usage As the official documentation prominently states, the inliner is unsafe to use with incremental compilation. This leads to hard to diagnose issues during development. It also massively inflates compile times (e.g. 16s -> 44s for http-core) making development a massive pain. --- build.sbt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.sbt b/build.sbt index 73c9b841f..dfb757b44 100644 --- a/build.sbt +++ b/build.sbt @@ -24,6 +24,8 @@ sourceDistIncubating := true ThisBuild / reproducibleBuildsCheckResolver := Resolver.ApacheMavenStagingRepo +ThisBuild / pekkoInlineEnabled := false + addCommandAlias("verifyCodeStyle", "scalafmtCheckAll; scalafmtSbtCheck; +headerCheckAll; javafmtCheckAll") addCommandAlias("applyCodeStyle", "+headerCreateAll; scalafmtAll; scalafmtSbt; javafmtAll")