Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71f5b7d9 authored by moezbhatti's avatar moezbhatti
Browse files

Fix issues with release builds

parent 2380d29c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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]

+1 −1
Original line number Diff line number Diff line
@@ -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" />
+1 −2
Original line number Diff line number Diff line
@@ -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)

+0 −1
Original line number Diff line number Diff line
@@ -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
+13 −1
Original line number Diff line number Diff line
@@ -16,3 +16,15 @@

# 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