exodus-privacy-android-app/app/build.gradle

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 "android.support.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('com.android.support.test.espresso:espresso-core:2.2.2', {
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'
}