11apply plugin : ' com.android.application'
22apply plugin : ' com.google.gms.google-services'
33apply plugin : ' com.google.firebase.crashlytics'
4- apply plugin : " com.google.firebase.firebase-perf"
4+ apply plugin : ' com.google.firebase.firebase-perf'
55
66import com.android.build.OutputFile
77
@@ -10,7 +10,7 @@ project.ext.react = [
1010]
1111
1212// up to mono root
13- apply from : " ../../node_modules/react-native/react.gradle"
13+ apply from : ' ../../node_modules/react-native/react.gradle'
1414
1515/**
1616 * The preferred build flavor of JavaScriptCore.
@@ -41,14 +41,14 @@ android {
4141 compileSdkVersion rootProject. ext. compileSdkVersion
4242 aaptOptions {
4343 // https://firebase.google.com/docs/ml/android/use-custom-models#local_model
44- noCompress " tflite"
44+ noCompress ' tflite'
4545 }
4646 defaultConfig {
47- applicationId " com.invertase.testing"
47+ applicationId ' com.invertase.testing'
4848 minSdkVersion rootProject. ext. minSdkVersion
4949 targetSdkVersion rootProject. ext. targetSdkVersion
5050 versionCode 1
51- versionName " 1.0"
51+ versionName ' 1.0'
5252
5353 // detox
5454 testBuildType System . getProperty(' testBuildType' , ' debug' )
@@ -60,16 +60,16 @@ android {
6060 reset()
6161 enable enableSeparateBuildPerCPUArchitecture
6262 universalApk false // If true, also generate a universal APK
63- include " armeabi-v7a" , " x86" , " arm64-v8a" , " x86_64"
63+ include ' armeabi-v7a' , ' x86' , ' arm64-v8a' , ' x86_64'
6464 }
6565 }
6666
6767 signingConfigs {
6868 release {
69- storeFile file(" keystore.jks" )
70- storePassword " 12345678"
71- keyAlias " key0"
72- keyPassword " 12345678"
69+ storeFile file(' keystore.jks' )
70+ storePassword ' 12345678'
71+ keyAlias ' key0'
72+ keyPassword ' 12345678'
7373 }
7474 }
7575
@@ -80,7 +80,7 @@ android {
8080 }
8181 release {
8282 minifyEnabled true
83- proguardFiles getDefaultProguardFile(" proguard-android.txt" ), " proguard-rules.pro"
83+ proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
8484 proguardFile " ${ rootProject.projectDir} /../node_modules/detox/android/detox/proguard-rules-app.pro"
8585 signingConfig signingConfigs. release
8686 firebaseCrashlytics {
@@ -106,7 +106,7 @@ android {
106106 variant. outputs. each { output ->
107107 // For each separate APK per architecture, set a unique version code as described here:
108108 // https://developer.android.com/studio/build/configure-apk-splits.html
109- def versionCodes = [" armeabi-v7a" : 1 , " x86" : 2 , " arm64-v8a" : 3 , " x86_64" : 4 ]
109+ def versionCodes = [' armeabi-v7a' : 1 , ' x86' : 2 , ' arm64-v8a' : 3 , ' x86_64' : 4 ]
110110 def abi = output. getFilter(OutputFile . ABI )
111111 if (abi != null ) { // null for the universal-debug, universal-release variants
112112 output. versionCodeOverride =
@@ -139,7 +139,7 @@ dependencies {
139139 /* ------------------------
140140 * TESTING SDKS/LIBRARIES
141141 * ------------------------ */
142- androidTestImplementation(project(path : " :detox" ))
142+ androidTestImplementation(project(path : ' :detox' ))
143143}
144144
145145apply from : file(' ../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle' ); applyNativeModulesAppBuildGradle(project)
0 commit comments