antimine-android/proprietary/build.gradle
2020-11-07 10:46:07 -03:00

57 lines
1.9 KiB
Groovy

apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
if (System.getenv('IS_GOOGLE_BUILD')) {
apply plugin: 'com.google.gms.google-services'
}
android {
compileSdkVersion 30
defaultConfig {
versionCode 804001
versionName '8.4.0'
minSdkVersion 21
targetSdkVersion 30
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8.toString()
freeCompilerArgs += [
'-Xuse-experimental=kotlinx.coroutines.ExperimentalCoroutinesApi',
'-Xuse-experimental=kotlinx.coroutines.FlowPreview']
}
}
dependencies {
// Dependencies must be hardcoded to support F-droid
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation project(':external')
// Google
implementation 'com.android.billingclient:billing-ktx:3.0.1'
implementation 'com.google.android.gms:play-services-instantapps:17.0.0'
implementation 'com.google.android.gms:play-services-games:20.0.1'
implementation 'com.google.android.gms:play-services-auth:18.1.0'
implementation 'com.google.android.gms:play-services-ads:19.4.0'
implementation 'com.google.android.play:core-ktx:1.8.1'
// Firebase
implementation 'com.google.firebase:firebase-analytics-ktx:17.6.0'
implementation 'com.google.firebase:firebase-crashlytics:17.2.2'
implementation 'com.google.firebase:firebase-firestore-ktx:21.7.1'
// Kotlin
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.9'
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.4.0'
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.3.9'
}