Automation/app/build.gradle

78 lines
2.4 KiB
Groovy
Raw Normal View History

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-03-13 00:40:59 +01:00
versionCode 99
versionName "1.6.23"
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
{
googlePlayFlavor
{
dimension "version"
2021-02-16 23:38:38 +01:00
// applicationIdSuffix ".googlePlay"
2021-02-16 13:42:49 +01:00
versionNameSuffix "-googlePlay"
2021-03-02 19:55:43 +01:00
targetSdkVersion 30
2021-02-16 13:42:49 +01:00
}
fdroidFlavor
{
dimension "version"
2021-02-16 23:38:38 +01:00
// applicationIdSuffix ".fdroid"
// versionNameSuffix "-fdroid"
2021-02-16 13:42:49 +01:00
targetSdkVersion 28
}
apkFlavor
{
dimension "version"
2021-02-16 23:38:38 +01:00
// applicationIdSuffix ".apk"
2021-02-16 13:42:49 +01:00
versionNameSuffix "-apk"
targetSdkVersion 28
}
}
}
dependencies {
2021-02-16 20:24:12 +01:00
googlePlayFlavorImplementation 'com.google.firebase:firebase-appindexing:19.2.0'
googlePlayFlavorImplementation 'com.google.android.gms:play-services-location:17.1.0'
2021-02-16 13:42:49 +01:00
2021-02-16 20:24:12 +01:00
apkFlavorImplementation 'com.google.firebase:firebase-appindexing:19.2.0'
apkFlavorImplementation 'com.google.android.gms:play-services-location:17.1.0'
2021-02-16 13:42:49 +01:00
implementation 'androidx.appcompat:appcompat:1.2.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
}