81 lines
4.0 KiB
Groovy
81 lines
4.0 KiB
Groovy
apply plugin: "com.android.library"
|
|
apply from: "../common.gradle"
|
|
apply from: "../playFlavor.gradle"
|
|
|
|
android {
|
|
lintOptions {
|
|
disable "InvalidPeriodicWorkRequestInterval", "ObsoleteLintCustomCheck", "DefaultLocale", "UnusedAttribute",
|
|
"ParcelClassLoader", "Typos", "ExtraTranslation", "ImpliedQuantity", "CheckResult",
|
|
"PluralsCandidate", "UnusedQuantity", "StringFormatCount", "TrustAllX509TrustManager",
|
|
"StaticFieldLeak", "TypographyEllipsis", "IconDensities", "IconDuplicates"
|
|
}
|
|
|
|
defaultConfig {
|
|
javaCompileOptions {
|
|
annotationProcessorOptions {
|
|
arguments = [eventBusIndex: 'de.danoeh.antennapod.core.ApCoreEventBusIndex']
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(':event')
|
|
implementation project(':model')
|
|
implementation project(':net:ssl')
|
|
implementation project(':net:sync:gpoddernet')
|
|
implementation project(':net:sync:model')
|
|
implementation project(':parser:feed')
|
|
implementation project(':parser:media')
|
|
implementation project(':ui:app-start-intent')
|
|
implementation project(':ui:common')
|
|
implementation project(':ui:png-icons')
|
|
|
|
annotationProcessor "androidx.annotation:annotation:$annotationVersion"
|
|
implementation "androidx.appcompat:appcompat:$appcompatVersion"
|
|
implementation "androidx.core:core:$coreVersion"
|
|
implementation 'androidx.documentfile:documentfile:1.0.1'
|
|
implementation "androidx.fragment:fragment:$fragmentVersion"
|
|
implementation "androidx.media:media:$mediaVersion"
|
|
implementation "androidx.preference:preference:$preferenceVersion"
|
|
implementation "androidx.work:work-runtime:$workManagerVersion"
|
|
implementation "com.google.android.material:material:$googleMaterialVersion"
|
|
|
|
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"
|
|
annotationProcessor "com.github.bumptech.glide:compiler:$glideVersion"
|
|
implementation "com.github.bumptech.glide:okhttp3-integration:$glideVersion@aar"
|
|
implementation "com.squareup.okhttp3:okhttp:$okhttpVersion"
|
|
implementation "com.squareup.okhttp3:okhttp-urlconnection:$okhttpVersion"
|
|
implementation "com.squareup.okio:okio:$okioVersion"
|
|
implementation "org.greenrobot:eventbus:$eventbusVersion"
|
|
annotationProcessor "org.greenrobot:eventbus-annotation-processor:$eventbusVersion"
|
|
implementation "io.reactivex.rxjava2:rxandroid:$rxAndroidVersion"
|
|
implementation "io.reactivex.rxjava2:rxjava:$rxJavaVersion"
|
|
|
|
implementation "com.google.android.exoplayer:exoplayer-core:$exoPlayerVersion"
|
|
implementation "com.google.android.exoplayer:exoplayer-ui:$exoPlayerVersion"
|
|
implementation "com.google.android.exoplayer:extension-okhttp:$exoPlayerVersion"
|
|
implementation "com.github.AntennaPod:AntennaPod-AudioPlayer:$audioPlayerVersion"
|
|
|
|
// Non-free dependencies:
|
|
playApi 'com.google.android.libraries.cast.companionlibrary:ccl:2.9.1'
|
|
playApi 'androidx.mediarouter:mediarouter:1.0.0'
|
|
playApi "com.google.android.gms:play-services-cast:$playServicesVersion"
|
|
playApi "com.google.android.support:wearable:$wearableSupportVersion"
|
|
compileOnly "com.google.android.wearable:wearable:$wearableSupportVersion"
|
|
|
|
testImplementation 'androidx.test:core:1.2.0'
|
|
testImplementation "org.awaitility:awaitility:$awaitilityVersion"
|
|
testImplementation 'junit:junit:4.13'
|
|
testImplementation 'org.mockito:mockito-inline:3.5.13'
|
|
testImplementation 'org.robolectric:robolectric:4.5-alpha-1'
|
|
testImplementation 'javax.inject:javax.inject:1'
|
|
androidTestImplementation "com.jayway.android.robotium:robotium-solo:$robotiumSoloVersion"
|
|
androidTestImplementation "androidx.test.espresso:espresso-core:$espressoVersion"
|
|
androidTestImplementation "androidx.test:runner:$runnerVersion"
|
|
androidTestImplementation "androidx.test:rules:$rulesVersion"
|
|
}
|