62 lines
2.2 KiB
Groovy
62 lines
2.2 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'io.fabric'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
android {
|
|
buildToolsVersion "28.0.1"
|
|
compileSdkVersion 28
|
|
defaultConfig {
|
|
applicationId "be.mygod.vpnhotspot"
|
|
minSdkVersion 21
|
|
targetSdkVersion 28
|
|
resConfigs "zh-rCN"
|
|
versionCode 26
|
|
versionName "1.3.5"
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
}
|
|
buildTypes {
|
|
debug {
|
|
pseudoLocalesEnabled true
|
|
}
|
|
release {
|
|
shrinkResources true
|
|
minifyEnabled true
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
dataBinding.enabled = true
|
|
flavorDimensions("freedom")
|
|
productFlavors {
|
|
freedom {
|
|
dimension "freedom"
|
|
buildConfigField "boolean", "DONATIONS", "true"
|
|
}
|
|
google {
|
|
dimension "freedom"
|
|
buildConfigField "boolean", "DONATIONS", "false"
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
kapt "androidx.databinding:databinding-compiler:$androidPluginVersion"
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation 'com.android.billingclient:billing:1.1'
|
|
implementation "com.android.support:customtabs:$supportLibraryVersion"
|
|
implementation "com.android.support:design:$supportLibraryVersion"
|
|
implementation "com.android.support:preference-v14:$supportLibraryVersion"
|
|
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
|
|
implementation 'com.crashlytics.sdk.android:crashlytics:2.9.4'
|
|
implementation 'com.github.luongvo:BadgeView:1.1.5'
|
|
implementation 'com.linkedin.dexmaker:dexmaker-mockito:2.19.0'
|
|
implementation "com.takisoft.fix:preference-v7:$takisoftFixVersion"
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion"
|
|
testImplementation 'junit:junit:4.12'
|
|
androidTestImplementation 'com.android.support.test:runner:1.0.2'
|
|
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
|
|
}
|
|
|
|
kapt.generateStubs = true
|
|
apply plugin: 'com.google.gms.google-services'
|