mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-02-02 03:36:48 +01:00
Fix release build
This commit is contained in:
parent
36a7494c5e
commit
1fac4158c3
@ -95,7 +95,7 @@ android {
|
|||||||
release {
|
release {
|
||||||
resValue "string", "provider_authority", "de.danoeh.antennapod.provider"
|
resValue "string", "provider_authority", "de.danoeh.antennapod.provider"
|
||||||
minifyEnabled true
|
minifyEnabled true
|
||||||
proguardFile "proguard.cfg"
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), "proguard.cfg"
|
||||||
signingConfig signingConfigs.releaseConfig
|
signingConfig signingConfigs.releaseConfig
|
||||||
buildConfigField STRING, FLATTR_APP_KEY, mFlattrAppKey
|
buildConfigField STRING, FLATTR_APP_KEY, mFlattrAppKey
|
||||||
buildConfigField STRING, FLATTR_APP_SECRET, mFlattrAppSecret
|
buildConfigField STRING, FLATTR_APP_SECRET, mFlattrAppSecret
|
||||||
|
@ -53,8 +53,12 @@
|
|||||||
public *;
|
public *;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# for okhttp
|
||||||
-dontwarn okhttp3.**
|
-dontwarn okhttp3.**
|
||||||
-dontwarn okio.**
|
-dontwarn okio.**
|
||||||
|
-dontwarn javax.annotation.**
|
||||||
|
-keepnames class okhttp3.internal.publicsuffix.PublicSuffixDatabase
|
||||||
|
-dontwarn org.codehaus.mojo.animal_sniffer.*
|
||||||
|
|
||||||
# for RxJava:
|
# for RxJava:
|
||||||
-dontwarn sun.misc.Unsafe
|
-dontwarn sun.misc.Unsafe
|
||||||
@ -99,10 +103,12 @@
|
|||||||
|
|
||||||
# Glide
|
# Glide
|
||||||
-keep public class * implements com.bumptech.glide.module.GlideModule
|
-keep public class * implements com.bumptech.glide.module.GlideModule
|
||||||
-keep public enum com.bumptech.glide.load.resource.bitmap.ImageHeaderParser$** {
|
-keep public class * extends com.bumptech.glide.module.AppGlideModule
|
||||||
**[] $VALUES;
|
-keep public enum com.bumptech.glide.load.ImageHeaderParser$** {
|
||||||
public *;
|
**[] $VALUES;
|
||||||
|
public *;
|
||||||
}
|
}
|
||||||
|
-dontwarn com.bumptech.glide.load.resource.bitmap.VideoDecoder
|
||||||
|
|
||||||
# for ViewPageIndicator problems (https://github.com/JakeWharton/ViewPagerIndicator/issues/366):
|
# for ViewPageIndicator problems (https://github.com/JakeWharton/ViewPagerIndicator/issues/366):
|
||||||
-dontwarn com.viewpagerindicator.LinePageIndicator
|
-dontwarn com.viewpagerindicator.LinePageIndicator
|
||||||
|
Loading…
x
Reference in New Issue
Block a user