1apply plugin: 'com.android.application'23android {4 namespace = "com.peachpasswords.app"5 compileSdk = rootProject.ext.compileSdkVersion6 defaultConfig {7 applicationId "com.peachpasswords.app"8 minSdkVersion rootProject.ext.minSdkVersion9 targetSdkVersion rootProject.ext.targetSdkVersion10 versionCode 111 versionName "1.0"12 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"13 aaptOptions {14 // Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.15 // Default: https://android.googlesource.com/platform/frameworks/base/+/282e181b58cf72b6ca770dc7ca5f91f135444502/tools/aapt/AaptAssets.cpp#6116 ignoreAssetsPattern = '!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~'17 }18 }19 buildTypes {20 release {21 minifyEnabled false22 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'23 }24 }25}2627repositories {28 flatDir{29 dirs '../capacitor-cordova-android-plugins/src/main/libs', 'libs'30 }31}3233dependencies {34 implementation fileTree(include: ['*.jar'], dir: 'libs')35 implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"36 implementation "androidx.coordinatorlayout:coordinatorlayout:$androidxCoordinatorLayoutVersion"37 implementation "androidx.core:core-splashscreen:$coreSplashScreenVersion"38 implementation "androidx.biometric:biometric:$androidxBiometricVersion"39 implementation project(':capacitor-android')40 testImplementation "junit:junit:$junitVersion"41 androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"42 androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion"43 implementation project(':capacitor-cordova-android-plugins')44}4546apply from: 'capacitor.build.gradle'4748try {49 def servicesJSON = file('google-services.json')50 if (servicesJSON.text) {51 apply plugin: 'com.google.gms.google-services'52 }53} catch(Exception e) {54 logger.info("google-services.json not found, google-services plugin not applied. Push Notifications won't work")55}