44 lines
1.2 KiB
Groovy
44 lines
1.2 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 800061
|
|
versionName '8.0.6'
|
|
minSdkVersion 21
|
|
targetSdkVersion 30
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
}
|
|
|
|
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.0'
|
|
implementation 'com.google.android.gms:play-services-instantapps:17.0.0'
|
|
implementation 'com.google.android.gms:play-services-games:20.0.0'
|
|
implementation 'com.google.android.gms:play-services-auth:18.1.0'
|
|
|
|
// Firebase
|
|
implementation 'com.google.firebase:firebase-analytics:17.5.0'
|
|
|
|
// Kotlin Lib
|
|
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.4.0'
|
|
}
|