From 092bac023da98055957134094c73c35202ecdfaa Mon Sep 17 00:00:00 2001 From: Charith Ellawala Date: Tue, 9 Dec 2025 07:51:15 +0000 Subject: [PATCH] chore: Fix jreleaser config Signed-off-by: Charith Ellawala --- build.gradle.kts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 8ed06cd..ca2b976 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -24,7 +24,9 @@ val projectVersion: String by lazy { if (commitDistance > 0) { val tokens = version.split('.') "${tokens[0]}.${tokens[1]}.${tokens[2].toInt() + 1}-SNAPSHOT" - } else version + } else { + version + } } } group = "dev.cerbos" @@ -105,7 +107,12 @@ tasks.build { publishing { repositories { maven { - url = layout.buildDirectory.dir("staging-deploy").get().asFile.toURI() + url = + layout.buildDirectory + .dir("staging-deploy") + .get() + .asFile + .toURI() } } publications { @@ -158,12 +165,6 @@ configure { armored.set(true) } - release { - github { - enabled.set(false) - } - } - deploy { maven { mavenCentral { @@ -188,4 +189,3 @@ configure { } } } -