1apply plugin: 'com.android.application'2apply plugin: 'kotlin-android'34android {5 namespace = "com.peachpasswords.app"6 compileSdk = rootProject.ext.compileSdkVersion7 defaultConfig {8 applicationId "com.peachpasswords.app"9 minSdkVersion rootProject.ext.minSdkVersion10 targetSdkVersion rootProject.ext.targetSdkVersion11 versionCode 112 versionName "1.0"13 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"14 aaptOptions {15 // Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.16 // Default: https://android.googlesource.com/platform/frameworks/base/+/282e181b58cf72b6ca770dc7ca5f91f135444502/tools/aapt/AaptAssets.cpp#6117 ignoreAssetsPattern = '!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~'18 }19 }20 buildTypes {21 release {22 minifyEnabled false23 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'24 }25 }26}2728repositories {29 flatDir{30 dirs '../capacitor-cordova-android-plugins/src/main/libs', 'libs'31 }32}3334dependencies {35 implementation fileTree(include: ['*.jar'], dir: 'libs')36 implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"37 implementation "androidx.coordinatorlayout:coordinatorlayout:$androidxCoordinatorLayoutVersion"38 implementation "androidx.core:core-splashscreen:$coreSplashScreenVersion"39 implementation "androidx.biometric:biometric:$androidxBiometricVersion"40 implementation "androidx.window:window:$androidxWindowVersion"41 implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.9.0"42 implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.10.1"43 implementation "androidx.security:security-crypto:1.1.0-alpha06"44 implementation project(':capacitor-android')45 testImplementation "junit:junit:$junitVersion"46 androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"47 androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion"48 implementation project(':capacitor-cordova-android-plugins')49}5051apply from: 'capacitor.build.gradle'5253try {54 def servicesJSON = file('google-services.json')55 if (servicesJSON.text) {56 apply plugin: 'com.google.gms.google-services'57 }58} catch(Exception e) {59 logger.info("google-services.json not found, google-services plugin not applied. Push Notifications won't work")60}