From 0e16c1c6b685208187a723eb3ae18125a96211c0 Mon Sep 17 00:00:00 2001 From: hfhbd <22521688+hfhbd@users.noreply.github.com> Date: Sun, 29 Sep 2024 19:05:39 +0200 Subject: [PATCH] Simplify the bundle creation --- gradle/build-logic/src/main/kotlin/UploadSignatures.kt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gradle/build-logic/src/main/kotlin/UploadSignatures.kt b/gradle/build-logic/src/main/kotlin/UploadSignatures.kt index 6e6898d..4944553 100644 --- a/gradle/build-logic/src/main/kotlin/UploadSignatures.kt +++ b/gradle/build-logic/src/main/kotlin/UploadSignatures.kt @@ -54,10 +54,7 @@ abstract class UploadSignatures : DefaultTask() { "/repos/${githubRepository.get()}/attestations" ) { //language=json - val bundle = """ - { "bundle": ${file.readText()} } - """.trimIndent() - setBody(bundle) + setBody("""{ "bundle": ${file.readText()} }""") } } }