Skip to content

Commit 472edcc

Browse files
committed
chore(build): skip source generation in import for Jmh
This change turns `bspEnabled := false` for `Jmh` because it involves source generation meaning that when you do a build import it will also do the source generation which we don't want on import. NOTE: That if there is another release of sbt-jmh ever this is done by default not, but not yet released: sbt/sbt-jmh#207.
1 parent d54ebf2 commit 472edcc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.sbt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,7 @@ lazy val bench = project
398398
.in(file("tests/benchmarks"))
399399
.settings(
400400
moduleName := "scip-java-bench",
401+
Jmh / bspEnabled := false,
401402
(run / fork) := true,
402403
(publish / skip) := true
403404
)

0 commit comments

Comments
 (0)