fix(build): drop use of deprecated KAPT API

This commit is contained in:
Harsh Shandilya 2024-09-13 22:13:32 +05:30
parent ce05857f7b
commit 51e3f84cab

View file

@ -30,7 +30,7 @@ class KotlinKaptPlugin : Plugin<Project> {
// https://github.com/google/dagger/releases/tag/dagger-2.34 // https://github.com/google/dagger/releases/tag/dagger-2.34
option("-Adagger.hilt.shareTestComponents=true") option("-Adagger.hilt.shareTestComponents=true")
// KAPT nests errors causing real issues to be suppressed in CI logs // 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 // Enables per-module validation for faster error detection
// https://github.com/google/dagger/commit/325b516ac6a53d3fc973d247b5231fafda9870a2 // https://github.com/google/dagger/commit/325b516ac6a53d3fc973d247b5231fafda9870a2
option("-Adagger.moduleBindingValidation=ERROR") option("-Adagger.moduleBindingValidation=ERROR")