mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-17 11:38:51 +01:00
Fix issues with release builds
This commit is contained in:
+1
-1
@@ -21,6 +21,7 @@ buildscript {
|
||||
ext.material_version = '1.0.0'
|
||||
ext.mockito_version = '2.18.3'
|
||||
ext.moshi_version = '1.6.0'
|
||||
ext.okhttp3_version = '4.1.0'
|
||||
ext.realm_version = '5.8.0'
|
||||
ext.realm_adapters_version = '3.1.0'
|
||||
ext.rxandroid_version = '2.0.1'
|
||||
@@ -30,7 +31,6 @@ buildscript {
|
||||
ext.rxkotlin_version = '2.1.0'
|
||||
ext.rx_preferences_version = '2.0.0-RC3'
|
||||
ext.timber_version = '4.5.1'
|
||||
ext.okhttp3_version = '4.1.0'
|
||||
|
||||
ext.abiCodes = ['armeabi-v7a': 1, 'arm64-v8a': 2]
|
||||
|
||||
|
||||
@@ -16,4 +16,4 @@
|
||||
~ You should have received a copy of the GNU General Public License
|
||||
~ along with QKSMS. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<manifest package="com.moez.QKSMS" />
|
||||
<manifest package="com.moez.QKSMS.common" />
|
||||
|
||||
@@ -56,8 +56,7 @@ class ChangelogManagerImpl @Inject constructor(
|
||||
|
||||
override fun getChangelog(): Single<ChangelogManager.Changelog> {
|
||||
val url = "https://firestore.googleapis.com/v1/projects/qksms-app/databases/(default)/documents/changelog"
|
||||
val httpUrl = url.toHttpUrlOrNull()
|
||||
val request = httpUrl?.let { Request.Builder().url(it).build() }
|
||||
val request = url.toHttpUrlOrNull()?.let { Request.Builder().url(it).build() }
|
||||
val call = request?.let { OkHttpClient().newCall(it) }
|
||||
val adapter = moshi.adapter(ChangelogResponse::class.java)
|
||||
|
||||
|
||||
@@ -15,7 +15,6 @@ org.gradle.jvmargs=-Xmx1536m
|
||||
org.gradle.caching=true
|
||||
android.useAndroidX=true
|
||||
android.enableJetifier=true
|
||||
android.enableR8=false
|
||||
|
||||
# When configured, Gradle will run in incubating parallel mode.
|
||||
# This option should only be used with decoupled projects. More details, visit
|
||||
|
||||
Vendored
+13
-1
@@ -15,4 +15,16 @@
|
||||
-dontwarn org.python.core.**
|
||||
|
||||
# okio
|
||||
-dontwarn okio.**
|
||||
-dontwarn okio.**
|
||||
|
||||
# JSR 305 annotations are for embedding nullability information.
|
||||
-dontwarn javax.annotation.**
|
||||
|
||||
# A resource is loaded with a relative path so the package of this class must be preserved.
|
||||
-keepnames class okhttp3.internal.publicsuffix.PublicSuffixDatabase
|
||||
|
||||
# Animal Sniffer compileOnly dependency to ensure APIs are compatible with older versions of Java.
|
||||
-dontwarn org.codehaus.mojo.animal_sniffer.*
|
||||
|
||||
# OkHttp platform used only on JVM and when Conscrypt dependency is available.
|
||||
-dontwarn okhttp3.internal.platform.ConscryptPlatform
|
||||
|
||||
Reference in New Issue
Block a user