2021-02-16 13:42:49 +01:00
|
|
|
plugins {
|
|
|
|
id 'com.android.application'
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 29
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "com.jens.automation2"
|
2021-02-16 20:24:12 +01:00
|
|
|
minSdkVersion 16
|
2021-02-16 13:42:49 +01:00
|
|
|
compileSdkVersion 29
|
|
|
|
buildToolsVersion '29.0.2'
|
|
|
|
useLibrary 'org.apache.http.legacy'
|
2021-12-27 13:58:43 +01:00
|
|
|
versionCode 115
|
|
|
|
versionName "1.7.1"
|
2021-02-16 13:42:49 +01:00
|
|
|
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
|
|
|
|
lintOptions {
|
|
|
|
checkReleaseBuilds false
|
|
|
|
abortOnError false
|
|
|
|
}
|
|
|
|
|
|
|
|
flavorDimensions "version"
|
|
|
|
|
|
|
|
productFlavors
|
2021-09-20 19:58:11 +02:00
|
|
|
{
|
|
|
|
googlePlayFlavor
|
|
|
|
{
|
|
|
|
dimension "version"
|
|
|
|
versionNameSuffix "-googlePlay"
|
2021-11-03 15:25:21 +01:00
|
|
|
targetSdkVersion 30
|
2021-09-20 19:58:11 +02:00
|
|
|
}
|
2021-02-16 13:42:49 +01:00
|
|
|
|
2021-09-20 19:58:11 +02:00
|
|
|
fdroidFlavor
|
|
|
|
{
|
|
|
|
dimension "version"
|
|
|
|
targetSdkVersion 28
|
|
|
|
}
|
2021-02-16 13:42:49 +01:00
|
|
|
|
2021-09-20 19:58:11 +02:00
|
|
|
apkFlavor
|
|
|
|
{
|
|
|
|
dimension "version"
|
|
|
|
versionNameSuffix "-apk"
|
|
|
|
targetSdkVersion 28
|
|
|
|
}
|
|
|
|
}
|
2021-02-16 13:42:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2021-07-04 02:14:26 +02:00
|
|
|
googlePlayFlavorImplementation 'com.google.firebase:firebase-appindexing:20.0.0'
|
|
|
|
googlePlayFlavorImplementation 'com.google.android.gms:play-services-location:18.0.0'
|
2021-02-16 13:42:49 +01:00
|
|
|
|
2021-07-04 02:14:26 +02:00
|
|
|
apkFlavorImplementation 'com.google.firebase:firebase-appindexing:20.0.0'
|
|
|
|
apkFlavorImplementation 'com.google.android.gms:play-services-location:18.0.0'
|
2021-02-16 13:42:49 +01:00
|
|
|
|
2021-05-22 02:51:31 +02:00
|
|
|
implementation 'com.linkedin.dexmaker:dexmaker:2.25.0'
|
2021-06-08 20:04:02 +02:00
|
|
|
implementation 'org.apache.commons:commons-lang3:3.0'
|
2021-05-22 02:51:31 +02:00
|
|
|
|
2021-07-04 02:14:26 +02:00
|
|
|
//implementation "androidx.security:security-crypto:1.0.0"
|
|
|
|
//implementation "androidx.security:security-identity-credential:1.0.0-alpha02"
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.3.0'
|
2021-02-16 20:24:12 +01:00
|
|
|
implementation 'com.google.android.material:material:1.3.0'
|
2021-02-16 13:42:49 +01:00
|
|
|
testImplementation 'junit:junit:4.+'
|
2021-02-16 20:24:12 +01:00
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
2021-02-16 13:42:49 +01:00
|
|
|
}
|