Skip to content

Commit

Permalink
build: Use JReleaser 1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
felipebz committed May 11, 2023
1 parent 52fe0aa commit c130242
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile
import org.jreleaser.model.api.common.ArchiveOptions

group = "com.felipebz.zpa"
version = "2.0.0-SNAPSHOT"
Expand All @@ -7,8 +8,8 @@ plugins {
`maven-publish`
kotlin("jvm") version "1.8.20"
application
id("org.jreleaser") version "1.4.0"
id("org.jreleaser.jdks") version "1.4.0"
id("org.jreleaser") version "1.6.0"
id("org.jreleaser.jdks") version "1.6.0"
}

java {
Expand Down Expand Up @@ -181,6 +182,9 @@ jreleaser {
path.set(file("build/jdks/${it.platform}_${it.arch}/jdk-$jdkBuild$additionalDir"))
platform.set("$jreleaserOs-$jreleaseArch")
extraProperties.put("archiveFormat", if (jreleaserOs == "windows") "ZIP" else "TAR_GZ")
options {
longFileMode.set(ArchiveOptions.TarMode.POSIX)
}
}
}
jdk {
Expand Down

0 comments on commit c130242

Please sign in to comment.