File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import complete.DefaultParsers._
10
10
import pl .project13 .scala .sbt .JmhPlugin
11
11
import pl .project13 .scala .sbt .JmhPlugin .JmhKeys .Jmh
12
12
import com .gradle .develocity .agent .sbt .DevelocityPlugin .autoImport ._
13
+ import com .gradle .develocity .agent .sbt .api .experimental .buildcache
13
14
import com .typesafe .sbt .packager .Keys ._
14
15
import com .typesafe .sbt .packager .MappingsHelper .directory
15
16
import com .typesafe .sbt .packager .universal .UniversalPlugin
@@ -607,7 +608,10 @@ object Build {
607
608
assert(docScalaInstance.loaderCompilerOnly == base.loaderCompilerOnly)
608
609
docScalaInstance
609
610
},
610
- Compile / doc / scalacOptions ++= scalacOptionsDocSettings()
611
+ Compile / doc / scalacOptions ++= scalacOptionsDocSettings(),
612
+ // force recompilation of bootstrapped modules when the compiler changes
613
+ Compile / compile / buildcache.develocityTaskCacheKeyComponents +=
614
+ (`scala3-compiler` / Compile / compile / develocityTaskCacheKey).taskValue
611
615
)
612
616
613
617
lazy val commonBenchmarkSettings = Seq (
You can’t perform that action at this time.
0 commit comments