summaryrefslogtreecommitdiff
path: root/ui/preferences/build.gradle
diff options
context:
space:
mode:
authorByteHamster <ByteHamster@users.noreply.github.com>2024-03-23 09:40:40 +0100
committerGitHub <noreply@github.com>2024-03-23 09:40:40 +0100
commitf20ce1fc690788273bb779663a4f3211f47a0973 (patch)
treea1192a00bc1b5153d143fa579b8c6f977111c847 /ui/preferences/build.gradle
parent376c83d200859ef562d6e3de02602ef18de3e7de (diff)
downloadAntennaPod-f20ce1fc690788273bb779663a4f3211f47a0973.zip
Move first batch of preferences code to :ui:preferences (#7010)
Diffstat (limited to 'ui/preferences/build.gradle')
-rw-r--r--ui/preferences/build.gradle47
1 files changed, 47 insertions, 0 deletions
diff --git a/ui/preferences/build.gradle b/ui/preferences/build.gradle
new file mode 100644
index 000000000..b91158fb9
--- /dev/null
+++ b/ui/preferences/build.gradle
@@ -0,0 +1,47 @@
+plugins {
+ id("com.android.library")
+}
+apply from: "../../common.gradle"
+apply from: "../../playFlavor.gradle"
+
+android {
+ namespace "de.danoeh.antennapod.ui.preferences"
+}
+
+dependencies {
+ implementation project(":core")
+ implementation project(":event")
+ implementation project(":model")
+ implementation project(":net:common")
+ implementation project(":net:sync:model")
+ implementation project(":net:sync:gpoddernet")
+ implementation project(":storage:preferences")
+ implementation project(":storage:importexport")
+ implementation project(":ui:common")
+ implementation project(":ui:glide")
+ implementation project(":ui:i18n")
+
+ annotationProcessor "androidx.annotation:annotation:$annotationVersion"
+ implementation "androidx.appcompat:appcompat:$appcompatVersion"
+ 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'
+}
+
+tasks.register('copyLicense', Copy) {
+ from "../../LICENSE"
+ into "src/main/assets/"
+ rename { String fileName ->
+ fileName + ".txt"
+ }
+}
+
+preBuild.dependsOn copyLicense