Automation/app/build.gradle

86 lines
2.5 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
compileSdkVersion 33
2021-02-16 13:42:49 +01:00
buildToolsVersion '29.0.2'
useLibrary 'org.apache.http.legacy'
versionCode 142
versionName "1.8.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
}
flavorDimensions "version"
productFlavors
2021-09-20 19:58:11 +02:00
{
googlePlayFlavor
{
dimension "version"
versionNameSuffix "-googlePlay"
2023-11-25 23:23:58 +01:00
targetSdkVersion 33
2021-09-20 19:58:11 +02:00
}
2021-02-16 13:42:49 +01:00
2023-07-23 18:57:38 +02:00
/*
targetSdkVersion is kept at 28 for as long as possible.
If raised wifi cannot be switched on or off anymore without root permissions.
In the Google version I'm forced to raise the value regularly.
*/
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
}
}
2022-02-06 15:02:07 +01:00
lint {
abortOnError false
checkReleaseBuilds false
}
2022-05-22 17:31:55 +02:00
namespace 'com.jens.automation2'
2021-02-16 13:42:49 +01:00
}
dependencies {
2022-01-20 17:57:13 +01:00
implementation 'org.jetbrains:annotations:15.0'
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"
2022-07-27 22:10:07 +02:00
implementation 'androidx.appcompat:appcompat:1.4.2'
implementation 'com.google.android.material:material:1.6.1'
testImplementation 'junit:junit:4'
2022-01-21 19:28:42 +01:00
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
2022-07-27 22:10:07 +02:00
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
2021-02-16 13:42:49 +01:00
}