chore(ci): add ktlint+detekt gates and upgrade toolchain#35
Conversation
Greptile SummaryThis PR modernizes the build toolchain and adds static analysis gates. The changes upgrade Gradle from 7.4 to 9.3.1, Kotlin from 1.6.21 to 2.3.10, and coroutines from 1.3.3 to 1.10.2. Two new linting tools are integrated: ktlint for code formatting and detekt for static analysis. All code changes are purely formatting-related from ktlint auto-formatting, including multi-line constructor parameters, explicit braces in when expressions, import ordering, and removal of extra blank lines. No logic changes were made to the codebase. The CI workflow was modernized to use Java 25 with Temurin distribution and now runs verification on both PRs and pushes to master. A detekt baseline was intentionally added to suppress 107 pre-existing issues, allowing the tooling to be introduced without blocking on legacy code quality issues.
Confidence Score: 5/5
Important Files Changed
Last reviewed commit: 5c41ea3 |
Summary
Validation
Notes