Overview › Build, Gradle & Dependencies

Build, Gradle & Dependencies

Modern AGP/Kotlin/Gradle with version catalog; some bleeding-edge versions.

0 findings in this category
80
SCORE

Summary

Gradle setup is modern: AGP 8.13.2, Kotlin 2.2.0, Gradle 8.14.4, version catalog (libs.versions.toml) with ~150 entries, Compose BOM, Firebase BOM, R8 enabled in release.

Strengths

PASS

Version catalog

gradle/libs.versions.toml is the single source for dependency versions — eliminates drift across 56 build files.
PASS

Modern targets

compileSdk 36, minSdk 31, targetSdk 36.
PASS

R8 + resource shrinking

Release builds shrink resources and obfuscate.

Findings

MEDIUM

Bleeding-edge versions

Compose BOM 2026.02.01 and Kotlin 2.2.0 are very recent; verify Compose Compiler matches K2 and that Hilt/KSP align.
Recommendation: Pin a tested combination; add a tools/version-check.sh in CI to prevent accidental upgrades.
MEDIUM

No convention plugin

56 build files + no build-logic means duplication of plugin declarations and Kotlin compile options.
Recommendation: Introduce build-logic/convention with android-feature, android-library, kotlin-library, compose-feature conventions.
LOW

Build cache + configuration cache

Confirm both are enabled in gradle.properties (org.gradle.caching=true, org.gradle.configuration-cache=true).
Recommendation: Enable both; profile builds with --scan.
INFO

Dokka configured

Dokka outputs to ../docs/costco/ per build.gradle.

Key versions

ToolVersion
Android Gradle Plugin8.13.2
Kotlin2.2.0
Gradle8.14.4
compileSdk / targetSdk / minSdk36 / 36 / 31
Compose BOM2026.02.01
Hilt2.56
Retrofit / OkHttp3.0.0 / 5.3.2
Room2.8.4
Coroutines1.10.2
Coil / Glide2.7.0 / 5.0.5
Costco Android · Code Review Report · Generated 2026-05-07 · 626 machine-curated findings