andOTP/app/build.gradle
Daniel Ziegenberg 98e4bce319 use linting in debug builds
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2020-06-09 18:17:49 +02:00

74 lines
2.4 KiB
Groovy

apply plugin: 'com.android.application'
android {
compileSdkVersion 29
buildToolsVersion '29.0.3'
defaultConfig {
applicationId "org.shadowice.flocke.andotp"
minSdkVersion 22
targetSdkVersion 29
versionCode 33
versionName "0.8.0-alpha1"
vectorDrawables.useSupportLibrary = true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
applicationIdSuffix = ".dev"
versionNameSuffix = "-dev"
testCoverageEnabled = true
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
}
}
lintOptions {
abortOnError false
}
dataBinding {
enabled = true
}
flavorDimensions 'market'
productFlavors {
fdroid {
dimension = 'market'
}
play {
dimension = 'market'
versionNameSuffix = "-play"
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
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}"
implementation 'com.google.android.material:material:1.1.0'
implementation "commons-codec:commons-codec:1.14"
implementation "com.github.aakira:expandable-layout:1.6.0"
implementation "com.heinrichreimersoftware:material-intro:2.0.0"
implementation "com.journeyapps:zxing-android-embedded:3.6.0"
implementation "com.vanniktech:vntnumberpickerpreference:1.0.0"
implementation "me.zhanghai.android.materialprogressbar:library:1.6.1"
implementation "org.sufficientlysecure:openpgp-api:12.0"
implementation "com.leinardi.android:speed-dial:3.1.1"
implementation "com.mikepenz:aboutlibraries:6.2.3"
}