1
1
apply plugin : ' com.android.application'
2
2
apply plugin : ' com.google.gms.google-services'
3
3
apply plugin : ' com.google.firebase.crashlytics'
4
- apply plugin : " com.google.firebase.firebase-perf"
4
+ apply plugin : ' com.google.firebase.firebase-perf'
5
5
6
6
import com.android.build.OutputFile
7
7
@@ -10,7 +10,7 @@ project.ext.react = [
10
10
]
11
11
12
12
// up to mono root
13
- apply from : " ../../node_modules/react-native/react.gradle"
13
+ apply from : ' ../../node_modules/react-native/react.gradle'
14
14
15
15
/**
16
16
* The preferred build flavor of JavaScriptCore.
@@ -41,14 +41,14 @@ android {
41
41
compileSdkVersion rootProject. ext. compileSdkVersion
42
42
aaptOptions {
43
43
// https://firebase.google.com/docs/ml/android/use-custom-models#local_model
44
- noCompress " tflite"
44
+ noCompress ' tflite'
45
45
}
46
46
defaultConfig {
47
- applicationId " com.invertase.testing"
47
+ applicationId ' com.invertase.testing'
48
48
minSdkVersion rootProject. ext. minSdkVersion
49
49
targetSdkVersion rootProject. ext. targetSdkVersion
50
50
versionCode 1
51
- versionName " 1.0"
51
+ versionName ' 1.0'
52
52
53
53
// detox
54
54
testBuildType System . getProperty(' testBuildType' , ' debug' )
@@ -60,16 +60,16 @@ android {
60
60
reset()
61
61
enable enableSeparateBuildPerCPUArchitecture
62
62
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'
64
64
}
65
65
}
66
66
67
67
signingConfigs {
68
68
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'
73
73
}
74
74
}
75
75
@@ -80,7 +80,7 @@ android {
80
80
}
81
81
release {
82
82
minifyEnabled true
83
- proguardFiles getDefaultProguardFile(" proguard-android.txt" ), " proguard-rules.pro"
83
+ proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
84
84
proguardFile " ${ rootProject.projectDir} /../node_modules/detox/android/detox/proguard-rules-app.pro"
85
85
signingConfig signingConfigs. release
86
86
firebaseCrashlytics {
@@ -106,7 +106,7 @@ android {
106
106
variant. outputs. each { output ->
107
107
// For each separate APK per architecture, set a unique version code as described here:
108
108
// 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 ]
110
110
def abi = output. getFilter(OutputFile . ABI )
111
111
if (abi != null ) { // null for the universal-debug, universal-release variants
112
112
output. versionCodeOverride =
@@ -139,7 +139,7 @@ dependencies {
139
139
/* ------------------------
140
140
* TESTING SDKS/LIBRARIES
141
141
* ------------------------ */
142
- androidTestImplementation(project(path : " :detox" ))
142
+ androidTestImplementation(project(path : ' :detox' ))
143
143
}
144
144
145
145
apply from : file(' ../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle' ); applyNativeModulesAppBuildGradle(project)
0 commit comments