2022-02-09 17:28:40 +01:00
|
|
|
plugins {
|
|
|
|
id("com.android.library")
|
|
|
|
}
|
2021-05-11 22:14:56 +02:00
|
|
|
apply from: "../common.gradle"
|
|
|
|
apply from: "../playFlavor.gradle"
|
2014-10-11 17:43:07 +02:00
|
|
|
|
|
|
|
android {
|
2021-05-11 22:14:56 +02:00
|
|
|
lintOptions {
|
|
|
|
disable "InvalidPeriodicWorkRequestInterval", "ObsoleteLintCustomCheck", "DefaultLocale", "UnusedAttribute",
|
2022-02-22 23:43:03 +01:00
|
|
|
"ParcelClassLoader", "CheckResult", "TrustAllX509TrustManager",
|
|
|
|
"StaticFieldLeak", "IconDensities", "IconDuplicates"
|
2021-05-11 22:14:56 +02:00
|
|
|
}
|
2014-10-11 17:43:07 +02:00
|
|
|
|
|
|
|
defaultConfig {
|
2019-05-28 17:26:09 +02:00
|
|
|
javaCompileOptions {
|
|
|
|
annotationProcessorOptions {
|
2020-04-26 03:03:16 +02:00
|
|
|
arguments = [eventBusIndex: 'de.danoeh.antennapod.core.ApCoreEventBusIndex']
|
2019-05-28 17:26:09 +02:00
|
|
|
}
|
|
|
|
}
|
2014-10-11 17:43:07 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2021-11-02 20:58:05 +01:00
|
|
|
implementation project(':event')
|
2021-04-22 23:17:11 +02:00
|
|
|
implementation project(':model')
|
2022-11-06 11:34:24 +01:00
|
|
|
implementation project(':net:common')
|
|
|
|
implementation project(':net:download:service-interface')
|
2021-03-01 16:21:39 +01:00
|
|
|
implementation project(':net:ssl')
|
2021-04-24 16:18:02 +02:00
|
|
|
implementation project(':net:sync:gpoddernet')
|
|
|
|
implementation project(':net:sync:model')
|
2021-08-28 00:12:48 +02:00
|
|
|
implementation project(':parser:feed')
|
2021-08-28 09:52:45 +02:00
|
|
|
implementation project(':parser:media')
|
2021-11-28 22:19:14 +01:00
|
|
|
implementation project(':playback:base')
|
|
|
|
implementation project(':playback:cast')
|
2022-02-27 12:12:24 +01:00
|
|
|
implementation project(':storage:database')
|
2022-11-06 14:32:47 +01:00
|
|
|
implementation project(':storage:preferences')
|
2021-02-07 11:29:39 +01:00
|
|
|
implementation project(':ui:app-start-intent')
|
2021-02-12 21:00:39 +01:00
|
|
|
implementation project(':ui:common')
|
2022-02-22 23:43:03 +01:00
|
|
|
implementation project(':ui:i18n')
|
2021-04-17 11:57:27 +02:00
|
|
|
implementation project(':ui:png-icons')
|
2021-02-07 11:29:39 +01:00
|
|
|
|
2020-05-07 17:38:01 +02:00
|
|
|
annotationProcessor "androidx.annotation:annotation:$annotationVersion"
|
|
|
|
implementation "androidx.appcompat:appcompat:$appcompatVersion"
|
2021-08-29 02:33:44 +02:00
|
|
|
implementation "androidx.core:core:$coreVersion"
|
2023-01-13 17:24:51 +01:00
|
|
|
implementation "androidx.core:core-splashscreen:1.0.0"
|
2020-05-25 22:30:14 +02:00
|
|
|
implementation 'androidx.documentfile:documentfile:1.0.1'
|
2021-09-24 10:18:54 +02:00
|
|
|
implementation "androidx.fragment:fragment:$fragmentVersion"
|
2020-05-07 17:38:01 +02:00
|
|
|
implementation "androidx.media:media:$mediaVersion"
|
|
|
|
implementation "androidx.preference:preference:$preferenceVersion"
|
2020-04-10 12:28:59 +02:00
|
|
|
implementation "androidx.work:work-runtime:$workManagerVersion"
|
2020-05-07 17:38:01 +02:00
|
|
|
implementation "com.google.android.material:material:$googleMaterialVersion"
|
2020-04-26 03:03:16 +02:00
|
|
|
|
2018-03-13 19:34:29 +01:00
|
|
|
implementation "org.apache.commons:commons-lang3:$commonslangVersion"
|
|
|
|
implementation "commons-io:commons-io:$commonsioVersion"
|
|
|
|
implementation "org.jsoup:jsoup:$jsoupVersion"
|
|
|
|
implementation "com.github.bumptech.glide:glide:$glideVersion"
|
2020-05-07 17:38:01 +02:00
|
|
|
implementation "com.github.bumptech.glide:okhttp3-integration:$glideVersion@aar"
|
2018-03-13 19:34:29 +01:00
|
|
|
implementation "com.squareup.okhttp3:okhttp:$okhttpVersion"
|
|
|
|
implementation "com.squareup.okhttp3:okhttp-urlconnection:$okhttpVersion"
|
|
|
|
implementation "com.squareup.okio:okio:$okioVersion"
|
2019-04-12 11:28:29 +02:00
|
|
|
implementation "org.greenrobot:eventbus:$eventbusVersion"
|
2019-05-28 17:26:09 +02:00
|
|
|
annotationProcessor "org.greenrobot:eventbus-annotation-processor:$eventbusVersion"
|
2018-09-30 19:58:53 +02:00
|
|
|
implementation "io.reactivex.rxjava2:rxandroid:$rxAndroidVersion"
|
|
|
|
implementation "io.reactivex.rxjava2:rxjava:$rxJavaVersion"
|
2015-11-01 17:48:33 +01:00
|
|
|
|
2021-08-25 03:28:54 +02:00
|
|
|
implementation "com.google.android.exoplayer:exoplayer-core:$exoPlayerVersion"
|
|
|
|
implementation "com.google.android.exoplayer:exoplayer-ui:$exoPlayerVersion"
|
2021-10-30 22:10:52 +02:00
|
|
|
implementation "com.google.android.exoplayer:extension-okhttp:$exoPlayerVersion"
|
2018-03-13 19:34:29 +01:00
|
|
|
implementation "com.github.AntennaPod:AntennaPod-AudioPlayer:$audioPlayerVersion"
|
2016-03-19 05:31:41 +01:00
|
|
|
|
2021-02-23 17:11:32 +01:00
|
|
|
// Non-free dependencies:
|
|
|
|
playApi "com.google.android.support:wearable:$wearableSupportVersion"
|
|
|
|
compileOnly "com.google.android.wearable:wearable:$wearableSupportVersion"
|
2018-05-18 22:21:36 +02:00
|
|
|
|
2022-11-26 16:06:02 +01:00
|
|
|
testImplementation "androidx.test:core:$testCoreVersion"
|
2019-09-01 19:56:42 +02:00
|
|
|
testImplementation "org.awaitility:awaitility:$awaitilityVersion"
|
2021-12-04 19:01:22 +01:00
|
|
|
testImplementation "junit:junit:$junitVersion"
|
2020-10-25 17:22:36 +01:00
|
|
|
testImplementation 'org.mockito:mockito-inline:3.5.13'
|
2021-12-04 19:01:22 +01:00
|
|
|
testImplementation "org.robolectric:robolectric:$robolectricVersion"
|
2020-10-25 17:22:36 +01:00
|
|
|
testImplementation 'javax.inject:javax.inject:1'
|
2019-09-29 13:24:11 +02:00
|
|
|
androidTestImplementation "androidx.test.espresso:espresso-core:$espressoVersion"
|
2020-05-07 17:38:01 +02:00
|
|
|
androidTestImplementation "androidx.test:runner:$runnerVersion"
|
|
|
|
androidTestImplementation "androidx.test:rules:$rulesVersion"
|
2015-03-04 14:34:35 +01:00
|
|
|
}
|