2020-04-08 12:34:28 +00:00
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: '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 {
|
2020-10-02 21:50:43 +00:00
|
|
|
versionCode 802021
|
|
|
|
versionName '8.2.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-08-16 23:28:16 +00:00
|
|
|
implementation 'com.android.billingclient:billing-ktx:3.0.0'
|
2020-04-20 03:28:49 +00:00
|
|
|
implementation 'com.google.android.gms:play-services-instantapps:17.0.0'
|
2020-08-25 01:23:23 +00:00
|
|
|
implementation 'com.google.android.gms:play-services-games:20.0.0'
|
2020-08-16 23:28:16 +00:00
|
|
|
implementation 'com.google.android.gms:play-services-auth:18.1.0'
|
2020-08-30 23:29:02 +00:00
|
|
|
implementation 'com.google.android.gms:play-services-ads:19.3.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-08-28 20:49:40 +00:00
|
|
|
implementation 'com.google.firebase:firebase-analytics-ktx:17.5.0'
|
|
|
|
implementation 'com.google.firebase:firebase-crashlytics:17.2.1'
|
2020-08-16 23:28:16 +00:00
|
|
|
|
2020-09-07 22:41:22 +00:00
|
|
|
// Kotlin
|
|
|
|
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.9'
|
2020-08-25 03:10:23 +00:00
|
|
|
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.4.0'
|
2020-09-07 22:41:22 +00:00
|
|
|
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.3.9'
|
2020-04-08 12:34:28 +00:00
|
|
|
}
|