Skip to content

Commit

Permalink
Disable Develocity Build Cache in compilation tests
Browse files Browse the repository at this point in the history
At the moment, the Develocity Build Cache does not work properly with
our compilation tests, because the cache key does not take into account
the sources that are read in the tests. Keeping the build cache would
lead to false cache hits, so it is better to disable it for the time
being.
  • Loading branch information
Duhemm authored and adpi2 committed Aug 27, 2024
1 parent da0f714 commit 8c358ba
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -908,6 +908,10 @@ object Build {
sjsSources
} (Set(scalaJSIRSourcesJar)).toSeq
}.taskValue,

// Develocity's Build Cache does not work with our compilation tests
// at the moment.
Test / develocityBuildCacheClient := None,
)

def insertClasspathInArgs(args: List[String], cp: String): List[String] = {
Expand Down

0 comments on commit 8c358ba

Please sign in to comment.