From f7a8450275fbb899e6b3257d8b3957b4f80b5fd0 Mon Sep 17 00:00:00 2001 From: Appu Goundan Date: Wed, 6 Dec 2023 10:50:46 -0500 Subject: [PATCH] fix build dir issue Signed-off-by: Appu Goundan --- sigstore-java/build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sigstore-java/build.gradle.kts b/sigstore-java/build.gradle.kts index 6ce9ef37..a5372700 100644 --- a/sigstore-java/build.gradle.kts +++ b/sigstore-java/build.gradle.kts @@ -107,7 +107,7 @@ jsonSchema2Pojo { executions { create("rekor") { source.setFrom(files("${sourceSets.main.get().output.resourcesDir}/rekor/model")) - targetDirectoryPrefix.set(file("$buildDir/generated/sources/rekor-model/")) + targetDirectoryPrefix.set(layout.buildDirectory.dir("generated/sources/rekor-model/")) targetPackage.set("dev.sigstore.rekor") generateBuilders.set(true) annotationStyle.set("gson")