Skip to content

Commit bd2f04f

Browse files
author
DevKumar00001
committed
fix: unsigned apk when executed assembleRelease
1 parent 11d1f08 commit bd2f04f

1 file changed

Lines changed: 11 additions & 10 deletions

File tree

app/build.gradle

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -62,16 +62,6 @@ android {
6262
versionCode 1
6363
versionName "1.0-Snapshot-" + getCommitHash()
6464
}
65-
66-
buildTypes {
67-
release {
68-
minifyEnabled false
69-
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
70-
}
71-
debug {
72-
debuggable true
73-
}
74-
}
7565

7666
compileOptions {
7767
sourceCompatibility JavaVersion.VERSION_17
@@ -100,6 +90,17 @@ android {
10090
}
10191
}
10292
}
93+
94+
buildTypes {
95+
release {
96+
minifyEnabled false
97+
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
98+
signingConfig signingConfigs.release
99+
}
100+
debug {
101+
debuggable true
102+
}
103+
}
103104
}
104105

105106
dependencies {

0 commit comments

Comments
 (0)