From 51e3f84cabf995ed6b3eeced5dd31f52e9178f3d Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Fri, 13 Sep 2024 22:13:32 +0530 Subject: [PATCH] fix(build): drop use of deprecated KAPT API --- .../main/kotlin/app/passwordstore/gradle/KotlinKaptPlugin.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-logic/src/main/kotlin/app/passwordstore/gradle/KotlinKaptPlugin.kt b/build-logic/src/main/kotlin/app/passwordstore/gradle/KotlinKaptPlugin.kt index ccc03380..c4d6467a 100644 --- a/build-logic/src/main/kotlin/app/passwordstore/gradle/KotlinKaptPlugin.kt +++ b/build-logic/src/main/kotlin/app/passwordstore/gradle/KotlinKaptPlugin.kt @@ -30,7 +30,7 @@ class KotlinKaptPlugin : Plugin { // https://github.com/google/dagger/releases/tag/dagger-2.34 option("-Adagger.hilt.shareTestComponents=true") // KAPT nests errors causing real issues to be suppressed in CI logs - option("-Xmaxerrs", 500) + option("-Xmaxerrs", "500") // Enables per-module validation for faster error detection // https://github.com/google/dagger/commit/325b516ac6a53d3fc973d247b5231fafda9870a2 option("-Adagger.moduleBindingValidation=ERROR")