andOTP/app/build.gradle

85 lines
2.9 KiB
Groovy
Raw Normal View History

2015-11-23 21:20:14 +00:00
apply plugin: 'com.android.application'
android {
2020-01-29 08:40:19 +00:00
compileSdkVersion 29
2020-04-16 17:57:54 +00:00
buildToolsVersion '29.0.3'
2015-11-23 21:20:14 +00:00
defaultConfig {
2017-06-28 08:29:18 +00:00
applicationId "org.shadowice.flocke.andotp"
2020-05-27 04:59:26 +00:00
minSdkVersion 22
2020-01-29 08:40:19 +00:00
targetSdkVersion 29
2020-05-27 04:59:26 +00:00
versionCode 33
2020-07-07 05:13:53 +00:00
versionName "0.8.0-beta1"
2018-03-22 09:05:36 +00:00
vectorDrawables.useSupportLibrary = true
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
2015-11-23 21:20:14 +00:00
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
applicationIdSuffix = ".dev"
versionNameSuffix = "-dev"
2015-11-23 21:20:14 +00:00
testCoverageEnabled = true
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
2015-11-23 21:20:14 +00:00
}
}
lintOptions {
abortOnError false
2015-11-23 22:21:38 +00:00
}
buildFeatures{
dataBinding = true
}
flavorDimensions 'market'
productFlavors {
fdroid {
dimension = 'market'
}
play {
dimension = 'market'
2019-10-19 07:55:58 +00:00
versionNameSuffix = "-play"
}
}
2020-01-29 08:40:19 +00:00
compileOptions {
// Flag to enable support for the new language APIs
coreLibraryDesugaringEnabled true
// Sets Java compatibility to Java 8
2020-01-29 08:40:19 +00:00
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
2015-11-23 21:20:14 +00:00
}
dependencies {
def lifecycle_version = "2.2.0"
implementation 'androidx.media:media:1.1.0'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.recyclerview:recyclerview:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation "androidx.lifecycle:lifecycle-process:${lifecycle_version}"
implementation "androidx.lifecycle:lifecycle-common-java8:${lifecycle_version}"
2020-03-01 15:20:42 +00:00
implementation 'com.google.android.material:material:1.1.0'
2020-01-29 08:40:19 +00:00
//noinspection GradleDependency - because they messed up their version numbering
2020-01-29 08:40:19 +00:00
implementation "commons-codec:commons-codec:1.14"
2018-03-22 09:05:36 +00:00
implementation "com.github.aakira:expandable-layout:1.6.0"
implementation "com.heinrichreimersoftware:material-intro:2.0.0"
2018-03-22 09:05:36 +00:00
implementation "com.journeyapps:zxing-android-embedded:3.6.0"
implementation "com.vanniktech:vntnumberpickerpreference:1.0.0"
2020-01-29 08:40:19 +00:00
implementation "me.zhanghai.android.materialprogressbar:library:1.6.1"
2018-03-22 09:05:36 +00:00
implementation "org.sufficientlysecure:openpgp-api:12.0"
2020-01-29 08:40:19 +00:00
implementation "com.leinardi.android:speed-dial:3.1.1"
implementation "com.mikepenz:aboutlibraries:6.2.3"
2020-06-09 15:44:36 +00:00
androidTestImplementation "androidx.test.espresso:espresso-core:3.2.0"
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.0.5'
2015-11-23 21:20:14 +00:00
}