2018-02-20 13:54:18 +01:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
2020-12-07 09:43:38 +01:00
|
|
|
compileSdkVersion 30
|
|
|
|
buildToolsVersion "30.0.2"
|
2018-02-20 13:54:18 +01:00
|
|
|
defaultConfig {
|
2019-11-20 23:08:51 +01:00
|
|
|
minSdkVersion 17
|
2020-12-07 09:43:38 +01:00
|
|
|
targetSdkVersion 30
|
2020-07-09 14:56:42 +02:00
|
|
|
versionCode 10
|
|
|
|
versionName "2.1.1"
|
2020-12-07 15:17:47 +01:00
|
|
|
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
|
2018-02-20 13:54:18 +01:00
|
|
|
}
|
2020-12-07 14:10:58 +01:00
|
|
|
flavorDimensions "default"
|
2018-02-20 13:54:18 +01:00
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
2018-04-12 12:25:35 +02:00
|
|
|
lintOptions {
|
|
|
|
disable 'MissingTranslation'
|
|
|
|
}
|
2018-02-20 13:54:18 +01:00
|
|
|
}
|
|
|
|
}
|
2020-12-07 14:10:58 +01:00
|
|
|
|
|
|
|
lintOptions {
|
|
|
|
disable 'MissingTranslation'
|
|
|
|
checkReleaseBuilds false
|
|
|
|
abortOnError false
|
|
|
|
}
|
|
|
|
|
|
|
|
productFlavors {
|
|
|
|
exodus {
|
|
|
|
applicationId "org.eu.exodus_privacy.exodusprivacy"
|
|
|
|
}
|
|
|
|
amal {
|
|
|
|
applicationId "app.fedilab.amal"
|
|
|
|
}
|
2020-12-15 18:21:10 +01:00
|
|
|
fedilab {
|
|
|
|
applicationId "app.fedilab.exodusprivacy"
|
|
|
|
}
|
2020-12-07 14:10:58 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
exodus {
|
|
|
|
res.srcDirs = ['src/main/res', 'src/exodus/res']
|
|
|
|
}
|
2020-12-15 18:21:10 +01:00
|
|
|
fedilab {
|
|
|
|
res.srcDirs = ['src/main/res', 'src/fedilab/res']
|
|
|
|
}
|
2020-12-07 14:10:58 +01:00
|
|
|
amal {
|
|
|
|
res.srcDirs = ['src/main/res', 'src/amal/res']
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
2018-02-20 13:54:18 +01:00
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
2020-07-07 01:48:10 +02:00
|
|
|
buildFeatures {
|
|
|
|
dataBinding = true
|
2018-04-11 15:27:05 +02:00
|
|
|
}
|
2018-02-20 13:54:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2019-01-09 16:42:55 +01:00
|
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
2020-12-07 15:17:47 +01:00
|
|
|
androidTestImplementation('androidx.test.espresso:espresso-core:3.1.0', {
|
2018-02-20 13:54:18 +01:00
|
|
|
exclude group: 'com.android.support', module: 'support-annotations'
|
|
|
|
})
|
2020-12-07 09:43:38 +01:00
|
|
|
implementation 'androidx.appcompat:appcompat:1.2.0'
|
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
|
2020-07-07 01:48:10 +02:00
|
|
|
implementation 'androidx.recyclerview:recyclerview:1.1.0'
|
|
|
|
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"
|
2020-12-07 09:43:38 +01:00
|
|
|
implementation 'com.google.android.material:material:1.2.1'
|
|
|
|
testImplementation 'junit:junit:4.13.1'
|
2018-02-20 13:54:18 +01:00
|
|
|
}
|