65 lines
2.2 KiB
Groovy
65 lines
2.2 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-android-extensions'
|
|
apply plugin: 'io.fabric'
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
android {
|
|
compileSdkVersion buildVersion.targetSdk
|
|
|
|
defaultConfig {
|
|
applicationId buildVersion.applicationId
|
|
minSdkVersion buildVersion.minAppSdk
|
|
targetSdkVersion buildVersion.targetSdk
|
|
versionCode buildVersion.versionCode
|
|
versionName buildVersion.versionName
|
|
multiDexEnabled true
|
|
vectorDrawables.useSupportLibrary true
|
|
resConfigs 'en', 'cs', 'de', 'es', 'fr', 'pt', 'ru', 'tr', 'vi', 'zh'
|
|
}
|
|
|
|
buildTypes {
|
|
debug {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
kapt {
|
|
generateStubs true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation project(':common')
|
|
|
|
// AndroidX
|
|
implementation "androidx.appcompat:appcompat:$versions.appcompat"
|
|
implementation "androidx.preference:preference:$versions.preference"
|
|
implementation "androidx.recyclerview:recyclerview:$versions.recyclerview"
|
|
implementation "androidx.multidex:multidex:$versions.multiDex"
|
|
|
|
// Constraint
|
|
implementation "androidx.constraintlayout:constraintlayout:$versions.constraintlayout"
|
|
|
|
// Google
|
|
implementation "com.google.android.gms:play-services-instantapps:$versions.instantApp"
|
|
implementation "com.google.android.material:material:$versions.material"
|
|
implementation "com.google.android.play:core:$versions.playCore"
|
|
|
|
// Dagger
|
|
api "com.google.dagger:dagger-android:$versions.dagger"
|
|
api "com.google.dagger:dagger-android-support:$versions.dagger"
|
|
kapt "com.google.dagger:dagger-android-processor:$versions.dagger"
|
|
kapt "com.google.dagger:dagger-compiler:$versions.dagger"
|
|
|
|
// Kotlin
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$versions.coroutines"
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$versions.kotlin"
|
|
}
|