Database reorganize, protocol version bump, migrations
This commit is contained in:
@@ -13,7 +13,10 @@ plugins {
|
||||
alias(libs.plugins.buildconfig)
|
||||
}
|
||||
|
||||
version = "1.0.1"
|
||||
version = rootProject.version as PhoebenchVersion
|
||||
|
||||
if((version as PhoebenchVersion) < (rootProject.version as PhoebenchVersion))
|
||||
throw GradleException("UI Clients version must be at least as high as protocol/common version")
|
||||
val versionDirectory = layout.buildDirectory.dir("generated/sources/version")
|
||||
|
||||
val generateVersion = tasks.register<Task>("clientVersion") {
|
||||
@@ -128,7 +131,7 @@ compose.desktop {
|
||||
nativeDistributions {
|
||||
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
|
||||
packageName = "com.jaytux.phoebench.clients"
|
||||
packageVersion = version.toString()
|
||||
packageVersion = (version as PhoebenchVersion).safeString()
|
||||
|
||||
jvmArgs += listOf("--enable-native-access=ALL-UNNAMED")
|
||||
includeAllModules = true
|
||||
|
||||
Reference in New Issue
Block a user