Skip to content

Commit

Permalink
SIANXSVC-1225: remove release and releaseLocal buildTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
anx-bkelhar committed Mar 15, 2024
1 parent 05b501f commit 2f919be
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Android CI

on:
push:
branches: [ "main" ]
branches: [ "SIANXSVC-1225" ]
pull_request:
branches: [ "main" ]

Expand All @@ -19,7 +19,6 @@ jobs:
java-version: '17'
distribution: 'temurin'
cache: gradle

- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,21 @@ internal fun Project.applyBuildTypes(
signingConfig = signingConfigs.getByName("debug")
applicationIdSuffix = ".debug"
}
/*
create("releaseLocal") {
isMinifyEnabled = true
isDebuggable = false
signingConfig = signingConfigs.getByName("releaseLocal")
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
matchingFallbacks += "release"
}
}*/
/*
getByName("release") {
isMinifyEnabled = true
isDebuggable = false
signingConfig = signingConfigs.getByName("release")
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
}
}*/
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ internal fun Project.applySigningConfigs(
applicationExtension.apply {

val localConfig = Properties().apply {
load(FileInputStream(File(rootProject.rootDir, "config/config.properties")))
//load(FileInputStream(File(rootProject.rootDir, "config/config.properties")))
}

/*
signingConfigs {
getByName("debug") {
storeFile = file("../config/debug_signing.jks")
Expand All @@ -34,6 +35,6 @@ internal fun Project.applySigningConfigs(
keyAlias = localConfig.getProperty("release.keyAlias")
keyPassword = localConfig.getProperty("release.keyPassword")
}
}
}*/
}
}

0 comments on commit 2f919be

Please sign in to comment.