Architecture Intelligence for Android & Kotlin Multiplatform
Gradle Lighthouse analyzes your Gradle project, detects architectural risks, evaluates build health, and generates actionable recommendations to improve maintainability, scalability, and developer productivity.
Most teams know they have technical debt.
What they don't know is:
- Which modules are slowing development
- Where architectural boundaries are leaking
- Why builds are becoming slower
- Which issues deserve attention first
- How their architecture evolves over time
Gradle Lighthouse answers those questions with a single audit.
./gradlew lighthouseAudit lighthouseAggregateA transparent health model that evaluates:
- Architecture
- Security
- Build Performance
- Dependency Hygiene
- Complexity
- Modernization
- Quality
- Application Size
Instead of showing hundreds of findings, Lighthouse highlights the areas that have the greatest architectural impact.
Lighthouse generates an improvement roadmap showing which fixes produce the largest score gains.
Example:
Current Score: 72
Top Opportunities
──────────────────────────────────────
+7 Migrate KAPT processors to KSP
+5 Remove dependency cycles
+4 Enable configuration cache
+3 Reduce oversized modules
See exactly why a project scored the way it did.
Architecture 85
Security 100
Build Performance 63
Complexity 58
Modernization 76
Compare your project against architectural reference snapshots generated by Lighthouse.
Benchmarking provides context for your score and helps teams understand where they stand relative to similar projects.
Interactive module dependency visualization with:
- Cycle detection
- Dependency exploration
- Refactoring sandbox mode
- Impact analysis
Export findings as:
- HTML Reports
- SARIF
- JUnit XML
Integrates naturally with GitHub Actions and modern CI pipelines.
Apply the plugin to your root project:
plugins {
id("io.github.dev-vikas-soni.lighthouse") version "2.3.1"
}Run a complete audit:
./gradlew lighthouseAudit lighthouseAggregateReports:
build/reports/lighthouse/project-dashboard.html
Per-module reports:
<module>/build/reports/lighthouse/index.html
| Feature | Description |
|---|---|
| Health Score Engine | Category-based architecture scoring |
| Architecture Breakdown | Visibility into architectural strengths and weaknesses |
| Path to 90 | Prioritized improvement roadmap |
| Galaxy Graph | Interactive dependency visualization |
| Benchmark Engine | Relative comparison against architectural baselines |
| Baseline Support | Ignore historical debt and focus on new issues |
| Lighthouse Fix | Automated configuration improvements |
| CI/CD Support | SARIF, HTML and JUnit exports |
./gradlew lighthouseExportBenchmarkOutput:
build/reports/lighthouse/benchmark.json
./gradlew lighthouseBenchmarkStatusGradle Lighthouse focuses on architectural health rather than issue counts.
Each finding contributes to a specific architectural domain.
A project cannot be considered healthy if a critical category is failing.
Every deduction is traceable to findings and improvement opportunities.
Scores are evaluated relative to project structure and benchmark baselines.
| Document | Description |
|---|---|
| docs/architecture.md | System architecture and execution flow |
| docs/scoring-model.md | Health score model and weighting |
| docs/benchmarking.md | Benchmark engine and percentile calculations |
| docs/USER_MANUAL.md | Tasks, DSL and configuration |
MIT License.