/* * Copyright 2019 Uriah Shaul Mandel * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ apply plugin: 'com.android.application' android { compileSdkVersion 29 defaultConfig { applicationId "com.bald.uriah.baldphone" minSdkVersion 21 targetSdkVersion 29 versionCode 103 versionName "14.0.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" manifestPlaceholders = [fullApp: "true", notFullApp: "false", recentCalls: "true", notRecentCalls: "false"] } buildTypes { release { minifyEnabled true debuggable false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } debug { debuggable true minifyEnabled false } } flavorDimensions "updating_mechanism" productFlavors { baldUpdates { dimension "updating_mechanism" } fDroid { dimension "updating_mechanism" } gPlay { dimension "updating_mechanism" applicationIdSuffix ".gp" manifestPlaceholders = [fullApp: "true", notFullApp: "false", recentCalls: "false", notRecentCalls: "true"] } gPlayRecentCalls { dimension "updating_mechanism" applicationIdSuffix ".gprc" manifestPlaceholders = [fullApp: "false", notFullApp: "true", recentCalls: "true", notRecentCalls: "false"] } } compileOptions { targetCompatibility JavaVersion.VERSION_1_8 sourceCompatibility JavaVersion.VERSION_1_8 } lintOptions { abortOnError false } } dependencies { implementation 'androidx.room:room-runtime:2.2.5' annotationProcessor 'androidx.room:room-compiler:2.2.5' implementation 'com.github.bumptech.glide:glide:4.11.0' annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0' implementation fileTree(include: ['*.jar'], dir: 'libs') implementation 'androidx.constraintlayout:constraintlayout:1.1.3' implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation 'com.google.android.material:material:1.2.0-beta01' implementation 'androidx.legacy:legacy-support-core-ui:1.0.0' implementation 'com.duolingo.open:rtl-viewpager:2.0.0' implementation 'de.hdodenhof:circleimageview:3.1.0' implementation 'net.danlew:android.joda:2.10.6' implementation 'com.github.nisrulz:lantern:2.0.0' implementation 'com.yqritc:recyclerview-flexibledivider:1.4.0' implementation 'com.android.volley:volley:1.1.1' implementation "ch.acra:acra-http:5.6.1" implementation 'androidx.exifinterface:exifinterface:1.2.0' implementation 'com.pierfrancescosoffritti.androidyoutubeplayer:core:10.0.5' // Only for tests androidTestImplementation 'androidx.test:rules:1.2.0' androidTestImplementation 'com.tomash:androidcontacts:1.14.0' androidTestImplementation 'androidx.test:runner:1.2.0' androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' testImplementation 'junit:junit:4.13' //Problematic library implementation 'androidx.appcompat:appcompat:1.1.0' }