@@ -9,7 +9,7 @@ plugins {
99
1010val os = getProperty(" os.name" ).toLowerCase()
1111
12- val hexagonVersion = " 2.4.4 "
12+ val hexagonVersion = " 2.4.5 "
1313val hexagonExtraVersion = " 2.4.0"
1414val vertxVersion = " 4.3.7"
1515
@@ -23,7 +23,7 @@ apply(from = "$gradleScripts/application.gradle")
2323apply (from = " $gradleScripts /native.gradle" )
2424
2525group = " com.hexagonkt.tools"
26- version = " 0.9.14 "
26+ version = " 0.9.15 "
2727description = " CVs for programmers"
2828
2929ext {
@@ -53,7 +53,7 @@ dependencies {
5353}
5454
5555tasks.named(" classes" ) { dependsOn(" addResources" ) }
56- tasks.named(" build" ) { dependsOn(" tarJpackage " ) }
56+ tasks.named(" build" ) { dependsOn(" installDist " ) }
5757
5858tasks.create<Copy >(" addResources" ) {
5959 from(projectDir)
@@ -107,20 +107,3 @@ extensions.configure<GraalVMExtension> {
107107 }
108108 }
109109}
110-
111- tasks.named<Exec >(" upx" ) {
112- val source = " $buildDir /native/nativeCompile/${project.name} "
113- val target = " $buildDir /native/${project.name} "
114- val command =
115- if (os.contains(" windows" )) " upx ${source} .exe -o ${target} .exe"
116- else " upx $source -o $target "
117- commandLine(command.split(" " ))
118- }
119-
120- tasks.named<Zip >(" zipNative" ) {
121- val arch = getProperty(" os.arch" ).toLowerCase()
122- val source = if (os.contains(" windows" )) " ${project.name} .exe" else project.name
123- include(source)
124- archiveFileName.set(" ${project.name} -${project.version} -${os} -${arch} .zip" )
125- destinationDirectory.set(buildDir.toPath().resolve(" distributions" ).toFile())
126- }
0 commit comments