Skip to content

Commit

Permalink
chore(build): skip source generation in import for Jmh
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ckipp01 committed Aug 20, 2022
1 parent d54ebf2 commit 472edcc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,7 @@ lazy val bench = project
.in(file("tests/benchmarks"))
.settings(
moduleName := "scip-java-bench",
Jmh / bspEnabled := false,
(run / fork) := true,
(publish / skip) := true
)
Expand Down

0 comments on commit 472edcc

Please sign in to comment.