From f01e08f4f57b1b9135b4ca4b8e777e206edf74e5 Mon Sep 17 00:00:00 2001 From: Usman Saleem Date: Fri, 5 Jul 2024 11:46:36 +1000 Subject: [PATCH] build: set gitrootsearch to true (#5) --- .github/workflows/release.yml | 2 +- build.gradle.kts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c6269a3..4139dc0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,7 +30,7 @@ jobs: uses: gradle/actions/setup-gradle@db19848a5fa7950289d3668fb053140cf3028d43 # v3.3.2 - name: Clean - run: ./gradlew clean + run: ./gradlew clean printVersion - name: Assemble run: ./gradlew assemble diff --git a/build.gradle.kts b/build.gradle.kts index 02e9b9d..2158784 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -61,7 +61,6 @@ tasks.jar { } jreleaser { - dependsOnAssemble = true project { description.set("Besu PKCS11-SoftHSM plugin") authors.set(listOf("Usman Saleem")) @@ -73,7 +72,8 @@ jreleaser { documentation.set("https://github.com/usmansaleem/besu-pkcs11-plugin") } } - + dependsOnAssemble.set(true) + gitRootSearch.set(true) distributions { create("besu-pkcs11-plugin") { distributionType.set(Distribution.DistributionType.SINGLE_JAR)