| 7 |
| 8 | configurations { |
| 9 | compile.exclude module: 'support-v4' |
| 10 | } |
| 11 |
| 12 | configurations.all { |
| 13 | exclude group: 'com.google.firebase', module: 'firebase-core' |
| 14 | exclude group: 'androidx.recyclerview', module: 'recyclerview' |
| 15 | } |
| 16 |
| 17 | dependencies { |
| 18 | implementation 'androidx.core:core:1.6.0' |
| 19 | implementation 'androidx.palette:palette:1.0.0' |
| 20 | implementation 'androidx.exifinterface:exifinterface:1.3.3' |
| 21 | implementation 'androidx.dynamicanimation:dynamicanimation:1.0.0' |
| 22 | implementation 'androidx.multidex:multidex:2.0.1' |
| 23 | implementation "androidx.sharetarget:sharetarget:1.1.0" |
| 24 |
| 25 | compileOnly 'org.checkerframework:checker-qual:2.5.2' |
| 26 | compileOnly 'org.checkerframework:checker-compat-qual:2.5.0' |
| 27 | implementation 'com.google.firebase:firebase-messaging:22.0.0' |
| 28 | implementation 'com.google.firebase:firebase-config:21.0.1' |
| 29 | implementation 'com.google.firebase:firebase-datatransport:18.1.0' |
| 30 | implementation 'com.google.firebase:firebase-appindexing:20.0.0' |
| 31 | implementation 'com.google.android.gms:play-services-maps:17.0.1' |
| 32 | implementation 'com.google.android.gms:play-services-auth:19.2.0' |
| 33 | implementation 'com.google.android.gms:play-services-vision:20.1.3' |
| 34 | implementation 'com.google.android.gms:play-services-wearable:17.1.0' |
| 35 | implementation 'com.google.android.gms:play-services-location:18.0.0' |
| 36 | implementation 'com.google.android.gms:play-services-wallet:18.1.3' |
| 37 | implementation 'com.googlecode.mp4parser:isoparser:1.0.6' |
| 38 | implementation 'com.stripe:stripe-android:2.0.2' |
| 39 | implementation 'com.google.mlkit:language-id:16.1.1' |
| 40 | implementation 'com.android.billingclient:billing:5.0.0' |
| 41 |
| 42 | coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5' |
| 43 | } |
| 44 |
| 45 | android { |
| 46 | compileSdkVersion 31 |
| 47 | buildToolsVersion '31.0.0' |
| 48 | ndkVersion "21.4.7075529" |
| 49 |
| 50 | sourceSets.main.jniLibs.srcDirs = ['./jni/'] |
| 51 |
| 52 | externalNativeBuild { |
| 53 | cmake { |
| 54 | path 'jni/CMakeLists.txt' |
| 55 | } |
| 56 | } |
| 57 |
| 58 | lintOptions { |
| 59 | disable 'MissingTranslation' |
| 60 | disable 'ExtraTranslation' |
| 61 | disable 'BlockedPrivateApi' |
| 62 | } |
| 63 |
| 64 | dexOptions { |
| 65 | jumboMode = true |
| 66 | } |
| 67 |
| 68 | compileOptions { |
| 69 | sourceCompatibility JavaVersion.VERSION_1_8 |
| 70 | targetCompatibility JavaVersion.VERSION_1_8 |
| 71 |
| 72 | coreLibraryDesugaringEnabled true |
| 73 | } |
| 74 |
| 75 | defaultConfig.versionCode = 2751 |
| 76 |
| 77 | defaultConfig { |
| 78 | minSdkVersion 16 |
| 79 | targetSdkVersion 30 |
| 80 | versionName "8.9.0" |
| 81 |
| 82 | vectorDrawables.generatedDensities = ['mdpi', 'hdpi', 'xhdpi', 'xxhdpi'] |
| 83 |
| 84 | multiDexEnabled true |
| 85 |
| 86 | externalNativeBuild { |
| 87 | cmake { |
| 88 | version '3.10.2' |
| 89 | arguments '-DANDROID_STL=c++_static', '-DANDROID_PLATFORM=android-16', "-j=16" |
| 90 | } |
| 91 | } |
| 92 | } |
| 93 |
| 94 | buildTypes { |
| 95 | debug { |
| 96 | debuggable true |
| 97 | jniDebuggable true |
| 98 | minifyEnabled false |
| 99 | shrinkResources false |
| 100 | multiDexEnabled true |
| 101 | proguardFiles getDefaultProguardFile('proguard-android.txt'), '../TMessagesProj/proguard-rules.pro' |
| 102 | ndk.debugSymbolLevel = 'FULL' |
| 103 | } |
| 104 |
| 105 | HA { |
| 106 | debuggable false |
| 107 | jniDebuggable false |
| 108 | minifyEnabled true |
| 109 | multiDexEnabled true |
| 110 | proguardFiles getDefaultProguardFile('proguard-android.txt'), '../TMessagesProj/proguard-rules.pro' |
| 111 | ndk.debugSymbolLevel = 'FULL' |
| 112 | } |
| 113 |
| 114 | standalone { |
| 115 | debuggable false |
| 116 | jniDebuggable false |
| 117 | minifyEnabled true |
| 118 | multiDexEnabled true |
| 119 | proguardFiles getDefaultProguardFile('proguard-android.txt'), '../TMessagesProj/proguard-rules.pro' |
| 120 | ndk.debugSymbolLevel = 'FULL' |
| 121 | } |
| 122 |
| 123 | release { |
| 124 | debuggable false |
| 125 | jniDebuggable false |
| 126 | minifyEnabled true |
| 127 | shrinkResources false |
| 128 | multiDexEnabled true |
| 129 | proguardFiles getDefaultProguardFile('proguard-android.txt'), '../TMessagesProj/proguard-rules.pro' |
| 130 | ndk.debugSymbolLevel = 'FULL' |
| 131 | } |
| 132 | } |
| 133 | } |
| 134 |
| 135 | apply plugin: 'com.google.gms.google-services' |
| 136 |