Fix: KMP Expect/Actual Analysis #3

Merged
makai.lester merged 1 commit from t3code/fix-kmp-expect-actual-analysis into main 2026-09-02 03:46:07 +00:00
Owner

Summary

  • Update to Detekt 2.0.0-alpha.6 and keep KMP detektAll on syntax-only and source-set tasks by default, avoiding expect/actual, generated serializer, and BuildConfig analysis failures.
  • Add explicit DSL and Gradle property opt-ins for compilation-wide KMP type resolution while leaving those tasks directly runnable.
  • Rework the custom rules to use conservative PSI and import matching, with unit and functional regression coverage plus 0.1.4 release documentation.
## Summary - Update to Detekt 2.0.0-alpha.6 and keep KMP `detektAll` on syntax-only and source-set tasks by default, avoiding expect/actual, generated serializer, and BuildConfig analysis failures. - Add explicit DSL and Gradle property opt-ins for compilation-wide KMP type resolution while leaving those tasks directly runnable. - Rework the custom rules to use conservative PSI and import matching, with unit and functional regression coverage plus 0.1.4 release documentation.
- Introduced `MakaiDetektExtension` for customizable plugin behavior.
- Enabled Kotlin Multiplatform type-resolution task integration with `runKmpTypeResolutionTasks` property.
- Updated functional and rule tests to ensure compatibility and behavior.
- Bumped version to `0.1.4` and updated Detekt dependency to `2.0.0-alpha.6`.
makai.lester changed title from Fix KMP Expect/Actual Analysis to Fix: KMP Expect/Actual Analysis 2026-09-02 03:45:34 +00:00
makai.lester deleted branch t3code/fix-kmp-expect-actual-analysis 2026-09-02 03:46:07 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
makai.lester/detekt-conventions!3
No description provided.