Skip to content

Commit efd2e3d

Browse files
committed
Revert "feat: Add release signing configuration"
This reverts commit 1ee5d0c.
1 parent dffbda7 commit efd2e3d

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

app/build.gradle.kts

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
import com.android.utils.text.dropPrefix
1616
import java.time.LocalDate
1717
import java.time.ZoneId
18-
import java.util.*
1918
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
2019
import org.jetbrains.kotlin.gradle.dsl.KotlinVersion
2120

@@ -52,19 +51,9 @@ android {
5251
includeInApk = false
5352
}
5453

55-
val localProperties = rootProject.propertiesFrom("local.properties")
56-
57-
val releaseSigningConfig = signingConfigs.create("release") {
58-
storeFile = file(localProperties.getProperty("store.path"))
59-
storePassword = localProperties.getProperty("store.pass")
60-
keyAlias = localProperties.getProperty("key.alias")
61-
keyPassword = localProperties.getProperty("key.pass")
62-
}
63-
6454
buildTypes {
6555
debug { applicationIdSuffix = ".debug" }
6656
release {
67-
signingConfig = releaseSigningConfig
6857
isMinifyEnabled = true
6958
isShrinkResources = true
7059
proguardFiles(
@@ -166,15 +155,6 @@ dependencies {
166155

167156
fun DependencyHandlerScope.kotlin(name: String): Any = kotlin(name, libs.versions.kotlin.get())
168157

169-
fun Project.propertiesFrom(fileName: String): Properties {
170-
val file = file(fileName)
171-
require(file.exists()) { "File not found: `${file.name}` at `${file.path}`" }
172-
173-
val properties = Properties()
174-
properties.load(file.reader())
175-
return properties
176-
}
177-
178158
fun versionCodeFor(version: String?): Int? {
179159
if (version == null) return null
180160
val (major, minor, patch) = version

0 commit comments

Comments
 (0)