mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2026-08-18 11:05:49 +00:00
### Description Remove fyydlin and connect directly. JitPack is not reliable. Because the fyydlin library is so simple, we don't really need it and can just connect directly to fyyd. This makes it possible to remove one library hosted on JitPack. Also taking the chance to make `PodcastSearchResult` independent from actual providers, so it becomes more of an interface/model class. ### Checklist <!-- To help us keep the issue tracker clean and work as efficient as possible, please make sure that you have done all of the following. You can tick the boxes below by placing an x inside the brackets like this: [x] --> - [x] I have read the contribution guidelines: https://github.com/AntennaPod/AntennaPod/blob/develop/CONTRIBUTING.md#submit-a-pull-request - [x] I have performed a self-review of my code, going through my changes line by line and carefully considering why this line change is necessary - [x] I have run the automated code checks using `./gradlew checkstyle spotbugsPlayDebug spotbugsDebug :app:lintPlayDebug` - [x] My code follows the style guidelines of the AntennaPod project: https://antennapod.org/contribute/develop/app/code-style - [x] I have mentioned the corresponding issue and the relevant keyword (e.g., "Closes: #xy") in the description (see https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) - [x] If it is a core feature, I have added automated tests
60 lines
1.6 KiB
INI
60 lines
1.6 KiB
INI
-dontobfuscate
|
|
-renamesourcefileattribute SourceFile
|
|
-keepattributes SourceFile,LineNumberTable
|
|
-optimizations !code/allocation/variable
|
|
-optimizationpasses 5
|
|
|
|
-allowaccessmodification
|
|
-dontskipnonpubliclibraryclassmembers
|
|
|
|
# Keep our own classes and members. They are all used.
|
|
# Without this, methods only used in tests are removed and break tests.
|
|
-keep class de.danoeh.antennapod**
|
|
-keepclassmembers class de.danoeh.antennapod** {*;}
|
|
-keep class de.test.antennapod**
|
|
-keepclassmembers class de.test.antennapod** {*;}
|
|
|
|
# Keep methods used in tests.
|
|
# This is only needed when running tests with proguard enabled.
|
|
-keepclassmembers class org.apache.commons.lang3.StringUtils {*;}
|
|
-keepclassmembers class androidx.appcompat.app.ActionBar {
|
|
public ** getTitle();
|
|
}
|
|
-keepclassmembers class org.apache.commons.io.IOUtils {
|
|
public static void write(...);
|
|
}
|
|
|
|
-keep public class org.jsoup.** {
|
|
public *;
|
|
}
|
|
|
|
# android-iconify
|
|
-keep class com.joanzapata.** { *; }
|
|
|
|
# RxJava
|
|
-keep class io.reactivex.Single
|
|
|
|
# Retrofit 2.0
|
|
-dontwarn retrofit2.**
|
|
-keep class retrofit2.** { *; }
|
|
-keepattributes Signature
|
|
-keepattributes Exceptions
|
|
|
|
-keepclasseswithmembers class * {
|
|
@retrofit2.http.* <methods>;
|
|
}
|
|
|
|
# Moshi
|
|
-keep class com.squareup.moshi.** { *; }
|
|
-keep interface com.squareup.moshi.** { *; }
|
|
####
|
|
|
|
# awaitility
|
|
-dontwarn java.beans.BeanInfo
|
|
-dontwarn java.beans.Introspector
|
|
-dontwarn java.beans.IntrospectionException
|
|
-dontwarn java.beans.PropertyDescriptor
|
|
-dontwarn java.lang.management.ManagementFactory
|
|
-dontwarn java.lang.management.ThreadInfo
|
|
-dontwarn java.lang.management.ThreadMXBean
|