2024-03-23 09:40:40 +01:00
|
|
|
plugins {
|
|
|
|
id("com.android.library")
|
|
|
|
}
|
|
|
|
apply from: "../../common.gradle"
|
|
|
|
apply from: "../../playFlavor.gradle"
|
|
|
|
|
|
|
|
android {
|
|
|
|
namespace "de.danoeh.antennapod.ui.preferences"
|
2024-03-29 13:39:45 +01:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
def commit = ""
|
|
|
|
try {
|
|
|
|
def hashStdOut = new ByteArrayOutputStream()
|
|
|
|
exec {
|
|
|
|
commandLine "git", "rev-parse", "--short", "HEAD"
|
|
|
|
standardOutput = hashStdOut
|
|
|
|
}
|
|
|
|
commit = hashStdOut.toString().trim()
|
|
|
|
} catch (Exception ignore) {
|
|
|
|
}
|
|
|
|
buildConfigField "String", "COMMIT_HASH", ('"' + (commit.isEmpty() ? "Unknown commit" : commit) + '"')
|
|
|
|
}
|
2024-03-23 09:40:40 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation project(":event")
|
|
|
|
implementation project(":net:common")
|
|
|
|
implementation project(":net:sync:gpoddernet")
|
|
|
|
implementation project(":storage:preferences")
|
|
|
|
implementation project(":storage:importexport")
|
|
|
|
implementation project(":ui:common")
|
|
|
|
implementation project(":ui:i18n")
|
2024-03-29 17:45:14 +01:00
|
|
|
implementation project(':net:sync:service-interface')
|
|
|
|
implementation project(':net:sync:service')
|
2024-03-23 09:40:40 +01:00
|
|
|
|
|
|
|
annotationProcessor "androidx.annotation:annotation:$annotationVersion"
|
|
|
|
implementation "androidx.appcompat:appcompat:$appcompatVersion"
|
2024-03-29 13:39:45 +01:00
|
|
|
implementation "androidx.fragment:fragment:$fragmentVersion"
|
2024-03-23 09:40:40 +01:00
|
|
|
implementation "com.google.android.material:material:$googleMaterialVersion"
|
|
|
|
implementation "androidx.preference:preference:$preferenceVersion"
|
|
|
|
implementation "androidx.work:work-runtime:$workManagerVersion"
|
|
|
|
|
|
|
|
implementation "io.reactivex.rxjava2:rxandroid:$rxAndroidVersion"
|
|
|
|
implementation "io.reactivex.rxjava2:rxjava:$rxJavaVersion"
|
|
|
|
implementation "com.github.bumptech.glide:glide:$glideVersion"
|
|
|
|
implementation "com.squareup.okhttp3:okhttp:$okhttpVersion"
|
|
|
|
implementation "com.squareup.okhttp3:okhttp-urlconnection:$okhttpVersion"
|
|
|
|
implementation "org.greenrobot:eventbus:$eventbusVersion"
|
|
|
|
implementation 'com.github.ByteHamster:SearchPreference:v2.5.0'
|
|
|
|
}
|