Skip to content

ComposeTemplate

ComposeTemplate is a production-grade Jetpack Compose template generator for starting new Android projects with architecture, build tooling, CI, security hardening, and feature scaffolding already in place.

Core capabilities

  • Jetpack Compose UI
  • Clean Architecture
  • Feature-based multi-module architecture
  • Hilt dependency injection
  • Navigation3-based type-safe navigation
  • Retrofit + OkHttp network layer
  • Room and DataStore foundations
  • Native secret obfuscation
  • Runtime security signals
  • Gradle convention plugins
  • Feature scaffolding
  • One-command app generation
  • Ktlint + Detekt static analysis
  • CI pipeline with template smoke tests
  • Baseline Profile and Macrobenchmark modules

Quick start

git clone https://github.com/mustafayigitt/ComposeTemplate.git
cd ComposeTemplate
./gradlew create-new-app -Pargs='com.example.myapp,MyNewApp' -q --console=plain
cd ../MyNewApp

Then run:

./gradlew validateSecrets
./gradlew ktlintCheck detekt testDebugUnitTest assembleDebug :app:assembleRelease
  1. Getting Started
  2. Project Philosophy
  3. Architecture Overview
  4. Secret Management
  5. Create New App
  6. Release Readiness Checklist