2f02e65ab6
- Install Capacitor dependencies (@capacitor/cli, @capacitor/core, @capacitor/android, @capacitor/app, @capacitor/status-bar, sharp) - Create capacitor.config.ts with app configuration - Update .gitignore to exclude Android build outputs and keystore files - Generate icon-512.png from logo.svg - Add scripts for icon generation, APK building, and keystore creation - Initialize Capacitor Android platform - Configure build.gradle with signing support - Generate Android app icons in all required densities - Add npm scripts: 'icons' and 'build:apk'
30 lines
637 B
Groovy
30 lines
637 B
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:8.13.0'
|
|
classpath 'com.google.gms:google-services:4.4.4'
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module build.gradle files
|
|
}
|
|
}
|
|
|
|
apply from: "variables.gradle"
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
}
|