From 139727a5b96323fa2012ec4eb0af7cda8967c65d Mon Sep 17 00:00:00 2001 From: Maciej Procyk Date: Mon, 19 Feb 2024 00:40:20 +0100 Subject: [PATCH] add version to build properties --- .env | 2 ++ composeApp/build.gradle.kts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.env b/.env index 09a4a4e..7f42834 100644 --- a/.env +++ b/.env @@ -14,3 +14,5 @@ CORS_SCHEME=http CLIENT_HOST=localhost CLIENT_PROTOCOL=http + +VERSION=1.0.0 diff --git a/composeApp/build.gradle.kts b/composeApp/build.gradle.kts index e001b92..a3f4373 100644 --- a/composeApp/build.gradle.kts +++ b/composeApp/build.gradle.kts @@ -131,11 +131,11 @@ android { compose { desktop.application { mainClass = "MainKt" + version = env.VERSION.value nativeDistributions { targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb) packageName = "shin" - packageVersion = "1.0.0" modules("java.net.http") windows {