Skip to content

Commit

Permalink
create common app version for android and desktop on gradle.properties
Browse files Browse the repository at this point in the history
  • Loading branch information
joelkanyi committed Jun 19, 2024
1 parent 8a57be7 commit f5cf017
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ android {
minSdk = 21
targetSdk = compileSdk
versionCode = 5
versionName = "1.0.4"
versionName = properties["version"] as String
}
buildTypes {
// debug
Expand Down
2 changes: 1 addition & 1 deletion desktop/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ dependencies {
}

group = "com.joelkanyi"
version = "1.0.4"
version = properties["version"] as String

compose.desktop {
application {
Expand Down
5 changes: 4 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,7 @@ org.jetbrains.compose.experimental.uikit.enabled=true
org.jetbrains.compose.experimental.jscanvas.enabled=true

# KMP
kotlin.mpp.enableCInteropCommonization=true
kotlin.mpp.enableCInteropCommonization=true

# App version
version=1.0.5

0 comments on commit f5cf017

Please sign in to comment.