forked from upstream-mirrors/quik
Fix issues with release builds
This commit is contained in:
+1
-1
@@ -21,6 +21,7 @@ buildscript {
|
|||||||
ext.material_version = '1.0.0'
|
ext.material_version = '1.0.0'
|
||||||
ext.mockito_version = '2.18.3'
|
ext.mockito_version = '2.18.3'
|
||||||
ext.moshi_version = '1.6.0'
|
ext.moshi_version = '1.6.0'
|
||||||
|
ext.okhttp3_version = '4.1.0'
|
||||||
ext.realm_version = '5.8.0'
|
ext.realm_version = '5.8.0'
|
||||||
ext.realm_adapters_version = '3.1.0'
|
ext.realm_adapters_version = '3.1.0'
|
||||||
ext.rxandroid_version = '2.0.1'
|
ext.rxandroid_version = '2.0.1'
|
||||||
@@ -30,7 +31,6 @@ buildscript {
|
|||||||
ext.rxkotlin_version = '2.1.0'
|
ext.rxkotlin_version = '2.1.0'
|
||||||
ext.rx_preferences_version = '2.0.0-RC3'
|
ext.rx_preferences_version = '2.0.0-RC3'
|
||||||
ext.timber_version = '4.5.1'
|
ext.timber_version = '4.5.1'
|
||||||
ext.okhttp3_version = '4.1.0'
|
|
||||||
|
|
||||||
ext.abiCodes = ['armeabi-v7a': 1, 'arm64-v8a': 2]
|
ext.abiCodes = ['armeabi-v7a': 1, 'arm64-v8a': 2]
|
||||||
|
|
||||||
|
|||||||
@@ -16,4 +16,4 @@
|
|||||||
~ You should have received a copy of the GNU General Public License
|
~ You should have received a copy of the GNU General Public License
|
||||||
~ along with QKSMS. If not, see <http://www.gnu.org/licenses/>.
|
~ 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> {
|
override fun getChangelog(): Single<ChangelogManager.Changelog> {
|
||||||
val url = "https://firestore.googleapis.com/v1/projects/qksms-app/databases/(default)/documents/changelog"
|
val url = "https://firestore.googleapis.com/v1/projects/qksms-app/databases/(default)/documents/changelog"
|
||||||
val httpUrl = url.toHttpUrlOrNull()
|
val request = url.toHttpUrlOrNull()?.let { Request.Builder().url(it).build() }
|
||||||
val request = httpUrl?.let { Request.Builder().url(it).build() }
|
|
||||||
val call = request?.let { OkHttpClient().newCall(it) }
|
val call = request?.let { OkHttpClient().newCall(it) }
|
||||||
val adapter = moshi.adapter(ChangelogResponse::class.java)
|
val adapter = moshi.adapter(ChangelogResponse::class.java)
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,6 @@ org.gradle.jvmargs=-Xmx1536m
|
|||||||
org.gradle.caching=true
|
org.gradle.caching=true
|
||||||
android.useAndroidX=true
|
android.useAndroidX=true
|
||||||
android.enableJetifier=true
|
android.enableJetifier=true
|
||||||
android.enableR8=false
|
|
||||||
|
|
||||||
# When configured, Gradle will run in incubating parallel mode.
|
# When configured, Gradle will run in incubating parallel mode.
|
||||||
# This option should only be used with decoupled projects. More details, visit
|
# This option should only be used with decoupled projects. More details, visit
|
||||||
|
|||||||
Vendored
+12
@@ -16,3 +16,15 @@
|
|||||||
|
|
||||||
# okio
|
# 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