2020-12-12 22:36:35 +00:00
|
|
|
plugins {
|
|
|
|
id 'com.android.library'
|
|
|
|
id 'kotlin-android'
|
|
|
|
id 'kotlin-android-extensions'
|
|
|
|
}
|
2020-08-17 12:56:29 +00:00
|
|
|
|
|
|
|
if (System.getenv('IS_GOOGLE_BUILD')) {
|
|
|
|
apply plugin: 'com.google.gms.google-services'
|
|
|
|
}
|
2020-04-08 12:34:28 +00:00
|
|
|
|
|
|
|
android {
|
2020-07-01 02:52:35 +00:00
|
|
|
compileSdkVersion 30
|
2020-04-08 12:34:28 +00:00
|
|
|
|
|
|
|
defaultConfig {
|
2021-01-01 15:11:29 +00:00
|
|
|
versionCode 806021
|
|
|
|
versionName '8.6.2'
|
2020-08-18 02:39:29 +00:00
|
|
|
minSdkVersion 21
|
2020-07-01 02:52:35 +00:00
|
|
|
targetSdkVersion 30
|
2020-04-08 12:34:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
2020-08-30 23:29:02 +00:00
|
|
|
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = JavaVersion.VERSION_1_8.toString()
|
|
|
|
freeCompilerArgs += [
|
|
|
|
'-Xuse-experimental=kotlinx.coroutines.ExperimentalCoroutinesApi',
|
|
|
|
'-Xuse-experimental=kotlinx.coroutines.FlowPreview']
|
|
|
|
}
|
2020-04-08 12:34:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2020-04-20 03:28:49 +00:00
|
|
|
// Dependencies must be hardcoded to support F-droid
|
|
|
|
|
2020-04-08 12:34:28 +00:00
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
2020-08-16 23:28:16 +00:00
|
|
|
implementation project(':external')
|
2020-04-08 12:34:28 +00:00
|
|
|
|
|
|
|
// Google
|
2020-12-12 22:36:35 +00:00
|
|
|
implementation 'com.android.billingclient:billing-ktx:3.0.2'
|
2020-04-20 03:28:49 +00:00
|
|
|
implementation 'com.google.android.gms:play-services-instantapps:17.0.0'
|
2020-12-12 22:36:35 +00:00
|
|
|
implementation 'com.google.android.gms:play-services-games:21.0.0'
|
|
|
|
implementation 'com.google.android.gms:play-services-auth:19.0.0'
|
|
|
|
implementation 'com.google.android.gms:play-services-ads:19.6.0'
|
2020-08-28 20:15:54 +00:00
|
|
|
implementation 'com.google.android.play:core-ktx:1.8.1'
|
2020-08-16 23:28:16 +00:00
|
|
|
|
|
|
|
// Firebase
|
2020-12-12 22:36:35 +00:00
|
|
|
implementation 'com.google.firebase:firebase-analytics-ktx:18.0.0'
|
|
|
|
implementation 'com.google.firebase:firebase-crashlytics:17.3.0'
|
2021-01-03 15:06:02 +00:00
|
|
|
implementation 'com.google.firebase:firebase-firestore-ktx:22.0.1'
|
|
|
|
implementation 'com.google.firebase:firebase-config-ktx:20.0.2'
|
2020-08-16 23:28:16 +00:00
|
|
|
|
2020-09-07 22:41:22 +00:00
|
|
|
// Kotlin
|
2020-12-12 22:36:35 +00:00
|
|
|
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.1'
|
|
|
|
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.4.10'
|
|
|
|
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.4.2'
|
2020-04-08 12:34:28 +00:00
|
|
|
}
|