We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a4fac4 commit ed71f76Copy full SHA for ed71f76
1 file changed
app/build.gradle.kts
@@ -24,6 +24,11 @@ fun hasSigningVars(): Boolean {
24
&& providers.environmentVariable("SIGNING_STORE_PASSWORD").orNull != null
25
}
26
27
+base {
28
+ val versionCode = project.property("VERSION_CODE").toString().toInt()
29
+ archivesName = "notes-$versionCode"
30
+}
31
+
32
android {
33
compileSdk = project.libs.versions.app.build.compileSDKVersion.get().toInt()
34
@@ -33,7 +38,6 @@ android {
38
targetSdk = project.libs.versions.app.build.targetSDK.get().toInt()
39
versionName = project.property("VERSION_NAME").toString()
35
40
versionCode = project.property("VERSION_CODE").toString().toInt()
36
- setProperty("archivesBaseName", "notes-$versionCode")
37
41
ksp {
42
arg("room.schemaLocation", "$projectDir/schemas")
43
0 commit comments