Skip to content

Commit

Permalink
Fix after merge. Now projects build and app sends to QA
Browse files Browse the repository at this point in the history
  • Loading branch information
JudjinGM committed Nov 29, 2023
1 parent 3a71b09 commit 5261305
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 16 deletions.
22 changes: 9 additions & 13 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ plugins {
alias(libs.plugins.firebase.crashlytics.gradle)
alias(libs.plugins.gms.googleServices)
alias(libs.plugins.firebase.appdistribution)

}

android {
Expand All @@ -28,7 +27,6 @@ android {
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}


signingConfigs {
create("release") {

Expand Down Expand Up @@ -59,7 +57,6 @@ android {

create("qa") {
initWith(getByName("release"))
isMinifyEnabled = false
applicationIdSuffix = ".qa"
signingConfig = signingConfigs.getByName("release")
}
Expand All @@ -69,14 +66,6 @@ android {
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"
)

}

firebaseAppDistribution{
artifactType = "APK"
releaseNotesFile = "app/src/stage/qa/releaseNotes.txt"
testers = "QA"

signingConfig = signingConfigs.getByName("release")
}
}
Expand Down Expand Up @@ -107,12 +96,19 @@ android {
}
}

task("appDistirbutionToQaStageQa") {
firebaseAppDistribution {
artifactType = "APK"
releaseNotesFile = "app/src/releaseNotes.txt"
testers = "QA"
serviceCredentialsFile = "app/serviceCredentialsFile.json"
}

task("appDistributionToQaStageQa") {
dependsOn("assembleStageQa")
dependsOn("appDistributionUploadStageQa")
}

task("appDistirbutionToQaProdQa") {
task("appDistributionToQaProdQa") {
dependsOn("assembleProdQa")
dependsOn("appDistributionUploadProdQa")
}
Expand Down
File renamed without changes.
24 changes: 21 additions & 3 deletions uikit/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,32 @@ android {
}

buildTypes {
release {
getByName("debug") {}

create("qa") {
initWith(getByName("release"))
}

getByName("release") {
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"
)
}
}

flavorDimensions += "env"

productFlavors {
create("stage") {
dimension = "env"
}

create("prod") {
dimension = "env"
}
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
Expand Down

0 comments on commit 5261305

Please sign in to comment.