[KMP] Cleanup android structure
This commit is contained in:
@@ -38,7 +38,7 @@ android {
|
||||
|
||||
signingConfigs {
|
||||
getByName("debug") {
|
||||
val debugSigningConfig = SigningConfig.getReleaseProperties(rootProject.rootDir)
|
||||
val debugSigningConfig = SigningConfig.getDebugProperties(rootProject.rootDir)
|
||||
storeFile = file(debugSigningConfig.getProperty(SigningConfig.KEY_PATH))
|
||||
keyAlias = debugSigningConfig.getProperty(SigningConfig.KEY_ALIAS)
|
||||
keyPassword = debugSigningConfig.getProperty(SigningConfig.KEY_PASS)
|
||||
@@ -123,7 +123,7 @@ dependencies {
|
||||
|
||||
androidTestUtil(libs.androidx.test.orchestrator)
|
||||
|
||||
"baselineProfile"(project(":baselineprofile"))
|
||||
"baselineProfile"(project(":androidApp:baselineprofile"))
|
||||
}
|
||||
|
||||
kover {
|
||||
|
||||
@@ -9,7 +9,7 @@ object SigningConfig {
|
||||
const val KEY_ALIAS = "KEYSTORE_ALIAS"
|
||||
|
||||
fun getDebugProperties(rootDir: File) = Properties().apply {
|
||||
setProperty(KEY_PATH, "${rootDir.path}/debug.keystore")
|
||||
setProperty(KEY_PATH, "${rootDir.path}/androidApp/debug.keystore")
|
||||
setProperty(KEY_PASS, "android")
|
||||
setProperty(KEY_ALIAS, "androiddebugkey")
|
||||
setProperty(KEY_PASS, "android")
|
||||
|
||||
+1
-1
@@ -18,4 +18,4 @@ dependencyResolutionManagement {
|
||||
|
||||
include(":androidApp")
|
||||
include(":shared")
|
||||
include(":baselineprofile")
|
||||
include(":androidApp:baselineprofile")
|
||||
|
||||
Reference in New Issue
Block a user