-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtemplate.properties
More file actions
42 lines (37 loc) · 1.56 KB
/
template.properties
File metadata and controls
42 lines (37 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# ============================================================================
# Template Configuration - Single Source of Truth
# ============================================================================
# To rebrand this template for your project:
# ./rebrand.sh --project-name YourApp --package-name com.company.yourapp
#
# The script will:
# 1. Auto-detect current package structure from code
# 2. Update these properties
# 3. Rename package directories
# 4. Update package declarations in all .kt/.java files
# 5. Auto-generate resources on Gradle sync
# ============================================================================
# Project name (PascalCase) - Used in class names, theme names, root project name
project.name=MyApp
# App display name - Shown in app launcher (can contain spaces)
app.display.name=My App
# App package - Used for application ID (base package auto-derived)
# Example: com.example.myapp → base: com.example
package.app=com.example.myapp
# Plugin prefix - Used by convention plugins
plugin.id.prefix=convention
# ============================================================================
# Usage Guide
# ============================================================================
#
# Quick rebrand:
# ./rebrand.sh --project-name MyApp --package-name com.mycompany.myapp
#
# Or interactive:
# ./rebrand.sh
#
# After rebranding:
# 1. Sync Gradle in Android Studio
# 2. Setup Firebase (see MANUAL_SETUP_REQUIRED.md#1-firebase-configuration)
# 3. Update API URLs in app/build.gradle.kts
# 4. Build: ./gradlew :app:assembleDevDebug