Skip to content

Commit 798524f

Browse files
committed
cliVersion
1 parent f92e3da commit 798524f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

build.gradle.kts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,9 @@ val commonsIoVersion: String by project
2020
val auth0JwtVersion: String by project
2121
val vertxVersion: String by project
2222
val slf4jVersion: String by project
23-
val cliVersion: String = project.properties["cliVersion"] as String? ?: projectVersion
2423

2524
group = cliGroup
26-
version = cliVersion
25+
version = project.properties["cliVersion"] as String? ?: projectVersion
2726

2827
repositories {
2928
mavenCentral()
@@ -84,7 +83,7 @@ configurations {
8483

8584
nativeImage {
8685
dependsOn("shadowJar")
87-
setClasspath(File(project.buildDir, "libs/spp-cli-$projectVersion.jar"))
86+
setClasspath(File(project.buildDir, "libs/spp-cli-${project.version}.jar"))
8887
runtimeClasspath = configurations.getByName("empty")
8988
if (System.getenv("GRAALVM_HOME") != null) {
9089
graalVmHome = System.getenv("GRAALVM_HOME")

0 commit comments

Comments
 (0)