mirror of
https://github.com/nuclearfog/Shitter.git
synced 2025-01-29 02:19:35 +01:00
fixed build warnings
This commit is contained in:
parent
8ae896e9d4
commit
d41a762ba3
29
app/proguard-rules.pro
vendored
29
app/proguard-rules.pro
vendored
@ -5,18 +5,37 @@
|
|||||||
|
|
||||||
# keep these libraries but allow obfuscating
|
# keep these libraries but allow obfuscating
|
||||||
-dontwarn org.conscrypt.Conscrypt
|
-dontwarn org.conscrypt.Conscrypt
|
||||||
#noinspection ShrinkerUnresolvedReference
|
|
||||||
-keep,allowobfuscation, allowoptimization class org.conscrypt.Conscrypt {*;}
|
-keep,allowobfuscation, allowoptimization class org.conscrypt.Conscrypt {*;}
|
||||||
-adaptclassstrings org.conscrypt.Conscrypt
|
|
||||||
|
|
||||||
-dontwarn org.conscrypt.OpenSSLProvider
|
-dontwarn org.conscrypt.OpenSSLProvider
|
||||||
#noinspection ShrinkerUnresolvedReference
|
|
||||||
-keep,allowobfuscation, allowoptimization class org.conscrypt.OpenSSLProvider {*;}
|
-keep,allowobfuscation, allowoptimization class org.conscrypt.OpenSSLProvider {*;}
|
||||||
-adaptclassstrings org.conscrypt.OpenSSLProvider
|
|
||||||
|
-dontwarn org.conscrypt.Conscrypt$Version
|
||||||
|
-keep,allowobfuscation, allowoptimization class org.conscrypt.Conscrypt$Version {*;}
|
||||||
|
|
||||||
|
-dontwarn org.conscrypt.ConscryptHostnameVerifier
|
||||||
|
-keep,allowobfuscation, allowoptimization class org.conscrypt.ConscryptHostnameVerifier {*;}
|
||||||
|
|
||||||
-dontwarn android.support.v8.renderscript.**
|
-dontwarn android.support.v8.renderscript.**
|
||||||
-keep,allowobfuscation, allowoptimization class android.support.v8.renderscript.** {*;}
|
-keep,allowobfuscation, allowoptimization class android.support.v8.renderscript.** {*;}
|
||||||
-adaptclassstrings android.support.v8.renderscript.**
|
|
||||||
|
-dontwarn org.bouncycastle.jsse.BCSSLParameters
|
||||||
|
-keep,allowobfuscation, allowoptimization class org.bouncycastle.jsse.BCSSLParameters {*;}
|
||||||
|
|
||||||
|
-dontwarn org.bouncycastle.jsse.BCSSLSocket
|
||||||
|
-keep,allowobfuscation, allowoptimization class org.bouncycastle.jsse.BCSSLSocket {*;}
|
||||||
|
|
||||||
|
-dontwarn org.bouncycastle.jsse.provider.BouncyCastleJsseProvider
|
||||||
|
-keep,allowobfuscation, allowoptimization class org.bouncycastle.jsse.provider.BouncyCastleJsseProvider {*;}
|
||||||
|
|
||||||
|
-dontwarn org.openjsse.javax.net.ssl.SSLParameters
|
||||||
|
-keep,allowobfuscation, allowoptimization class org.openjsse.javax.net.ssl.SSLParameters {*;}
|
||||||
|
|
||||||
|
-dontwarn org.openjsse.javax.net.ssl.SSLSocket
|
||||||
|
-keep,allowobfuscation, allowoptimization class org.openjsse.javax.net.ssl.SSLSocket {*;}
|
||||||
|
|
||||||
|
-dontwarn org.openjsse.net.ssl.OpenJSSE
|
||||||
|
-keep,allowobfuscation, allowoptimization class org.openjsse.net.ssl.OpenJSSE {*;}
|
||||||
|
|
||||||
-dontwarn javax.annotation.Nullable
|
-dontwarn javax.annotation.Nullable
|
||||||
|
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
||||||
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
|
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
|
||||||
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
|
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
|
||||||
|
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
|
||||||
<uses-permission
|
<uses-permission
|
||||||
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
|
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
|
||||||
android:maxSdkVersion="29"
|
android:maxSdkVersion="29"
|
||||||
|
@ -10,7 +10,7 @@ buildscript {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:7.4.0'
|
classpath 'com.android.tools.build:gradle:7.4.0'
|
||||||
classpath 'io.michaelrocks:paranoid-gradle-plugin:0.3.7'
|
classpath 'io.michaelrocks:paranoid-gradle-plugin:0.3.7' // fixme this library causes build failure (Transform API). Find replacement
|
||||||
classpath 'gradle.plugin.ru.cleverpumpkin.proguard-dictionaries-generator:plugin:1.0.8'
|
classpath 'gradle.plugin.ru.cleverpumpkin.proguard-dictionaries-generator:plugin:1.0.8'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user