1
0
mirror of https://github.com/stom79/exodus-android-app synced 2024-12-23 01:08:09 +01:00
exodus-privacy-android-app/app/build.gradle
2020-12-07 15:17:47 +01:00

69 lines
1.9 KiB
Groovy

apply plugin: 'com.android.application'
android {
compileSdkVersion 30
buildToolsVersion "30.0.2"
defaultConfig {
minSdkVersion 17
targetSdkVersion 30
versionCode 10
versionName "2.1.1"
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
}
flavorDimensions "default"
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
lintOptions {
disable 'MissingTranslation'
}
}
}
lintOptions {
disable 'MissingTranslation'
checkReleaseBuilds false
abortOnError false
}
productFlavors {
exodus {
applicationId "org.eu.exodus_privacy.exodusprivacy"
}
amal {
applicationId "app.fedilab.amal"
}
}
sourceSets {
exodus {
res.srcDirs = ['src/main/res', 'src/exodus/res']
}
amal {
res.srcDirs = ['src/main/res', 'src/amal/res']
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
buildFeatures {
dataBinding = true
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
androidTestImplementation('androidx.test.espresso:espresso-core:3.1.0', {
exclude group: 'com.android.support', module: 'support-annotations'
})
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation 'androidx.recyclerview:recyclerview:1.1.0'
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"
implementation 'com.google.android.material:material:1.2.1'
testImplementation 'junit:junit:4.13.1'
}