This is an automated email from the ASF dual-hosted git repository.

vladimirsitnikov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git

commit 05c8659f3bb41455783435f1e0120acd540e802f
Author: Vladimir Sitnikov <[email protected]>
AuthorDate: Sat Dec 30 12:26:31 2023 +0300

    chore: add workaround for kapt failure "Number of loaded files in snapshots 
differs"
    
    See 
https://youtrack.jetbrains.com/issue/KT-45329/IDE-KAPT-Number-of-loaded-files-in-snapshots-differs-when-using-Run-with-Coverage-and-project-has-Java-and-Kotlin-targets-with
---
 src/core/build.gradle.kts | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/core/build.gradle.kts b/src/core/build.gradle.kts
index 38fa682e8e..c0ebe1fc3d 100644
--- a/src/core/build.gradle.kts
+++ b/src/core/build.gradle.kts
@@ -188,3 +188,10 @@ tasks.jar {
         from("$rootDir/xdocs/images/logo.svg")
     }
 }
+
+afterEvaluate {
+    tasks.named("kaptTestFixturesKotlin") {
+        // Workaround for 
https://youtrack.jetbrains.com/issue/KT-45329/IDE-KAPT-Number-of-loaded-files-in-snapshots-differs-when-using-Run-with-Coverage-and-project-has-Java-and-Kotlin-targets-with
+        inputs.property("wa.to.trigger.full.recompilation", "1")
+    }
+}

Reply via email to