File tree Expand file tree Collapse file tree 3 files changed +9
-8
lines changed
Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -27,11 +27,11 @@ android {
2727 compileSdk = project.libs.versions.app.build.compileSDKVersion.get().toInt()
2828
2929 defaultConfig {
30- applicationId = libs.versions.app.version.appId.get ()
30+ applicationId = project.property( " APP_ID " ).toString ()
3131 minSdk = project.libs.versions.app.build.minimumSDK.get().toInt()
3232 targetSdk = project.libs.versions.app.build.targetSDK.get().toInt()
33- versionName = project.libs.versions.app.version.versionName.get ()
34- versionCode = project.libs.versions.app.version.versionCode.get ().toInt()
33+ versionName = project.property( " VERSION_NAME " ).toString ()
34+ versionCode = project.property( " VERSION_CODE " ).toString ().toInt()
3535 setProperty(" archivesBaseName" , " messages-$versionCode " )
3636 ksp {
3737 arg(" room.schemaLocation" , " $projectDir /schemas" )
@@ -105,7 +105,7 @@ android {
105105 kotlinOptions.jvmTarget = project.libs.versions.app.build.kotlinJVMTarget.get()
106106 }
107107
108- namespace = libs.versions.app.version.appId.get ()
108+ namespace = project.property( " APP_ID " ).toString ()
109109
110110 lint {
111111 checkReleaseBuilds = false
Original file line number Diff line number Diff line change 11android.enableJetifier =true
22android.useAndroidX =true
33org.gradle.jvmargs =-Xmx8192m
4+
5+ # Versioning
6+ VERSION_NAME =1.1.7
7+ VERSION_CODE =10
8+ APP_ID =org.fossify.messages
Original file line number Diff line number Diff line change @@ -29,10 +29,6 @@ app-build-kotlinJVMTarget = "17"
2929# Helpers
3030ez-vcard = " 0.11.3"
3131shortcut-badger = " 1.1.22"
32- # versioning
33- app-version-appId = " org.fossify.messages"
34- app-version-versionCode = " 10"
35- app-version-versionName = " 1.1.7"
3632[libraries ]
3733# AndroidX
3834androidx-constraintlayout = { module = " androidx.constraintlayout:constraintlayout" , version.ref = " androidx-constraintlayout" }
You can’t perform that action at this time.
0 commit comments