diff --git a/app/build.gradle.kts b/app/build.gradle.kts index ade305f..0be89d0 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -9,15 +9,19 @@ plugins { } android { + val baseApplicationId = rootProject.extra["baseApplicationId"] as String + val debugApplicationIdSuffix = rootProject.extra["debugApplicationIdSuffix"] as String + namespace = "com.wisp.app" compileSdk = 35 defaultConfig { - applicationId = "com.wisp.app" + applicationId = baseApplicationId minSdk = 26 targetSdk = 35 - versionCode = 76 - versionName = "1.0.2" + versionCode = 74 + versionName = "1.0.0" + resValue("string", "app_name", "Wisp") ndk { abiFilters += "arm64-v8a" @@ -34,6 +38,11 @@ android { } buildTypes { + debug { + applicationIdSuffix = debugApplicationIdSuffix + resValue("string", "app_name", "Wisp Debug") + } + release { isMinifyEnabled = true isShrinkResources = true diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index f3bb6c5..3ad6eae 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -22,7 +22,7 @@ android:allowBackup="false" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" - android:label="Wisp" + android:label="@string/app_name" android:networkSecurityConfig="@xml/network_security_config" android:supportsRtl="true" android:largeHeap="true" diff --git a/build.gradle.kts b/build.gradle.kts index dfcd64c..8c81f27 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,3 +1,6 @@ +extra["baseApplicationId"] = "com.wisp.app" +extra["debugApplicationIdSuffix"] = ".debug" + plugins { alias(libs.plugins.android.application) apply false alias(libs.plugins.kotlin.android) apply false