From 8c358ba530ebcd1016660b7794b7ebf2a1fe1dad Mon Sep 17 00:00:00 2001 From: Martin Duhem Date: Mon, 26 Aug 2024 17:55:57 +0200 Subject: [PATCH] Disable Develocity Build Cache in compilation tests 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. --- project/Build.scala | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/project/Build.scala b/project/Build.scala index db0949c46b50..7515eb3c9552 100644 --- a/project/Build.scala +++ b/project/Build.scala @@ -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] = {