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

Commit 0859187c authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

Use platform keys for debug

parent 5dfe8206
Loading
Loading
Loading
Loading
+16 −2
Original line number Diff line number Diff line
@@ -51,8 +51,8 @@ android {
            )
        }
        getByName("debug") {
            // Append .dev to package name so we won't conflict with AOSP build.
            applicationIdSuffix = ".dev"
            signingConfig = signingConfigs.getByName("debug")

        }
    }

@@ -80,6 +80,20 @@ android {
                storePassword = it
            }
        }
        getByName("debug") {
            (keystoreProperties["keyAlias"] as String?)?.let {
                keyAlias = it
            }
            (keystoreProperties["keyPassword"] as String?)?.let {
                keyPassword = it
            }
            (keystoreProperties["storeFile"] as String?)?.let {
                storeFile = file(it)
            }
            (keystoreProperties["storePassword"] as String?)?.let {
                storePassword = it
            }
        }
    }
    namespace = "org.lineageos.updater"
}