We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7321f2 commit 8f6f86dCopy full SHA for 8f6f86d
sandbox/gradle-sign-file/build.gradle.kts
@@ -21,14 +21,12 @@ dependencies {
21
val hello by tasks.registering(WriteProperties::class) {
22
group = LifecycleBasePlugin.BUILD_GROUP
23
description = "Generates a sample $name.properties file to sign"
24
- outputFile = layout.buildDirectory.file(
25
- "props/$name.properties"
26
- ).get().asFile
+ destinationFile.set(layout.buildDirectory.file("props/$name.properties"))
27
property("hello", "world")
28
}
29
30
val signFile by tasks.registering(SigstoreSignFilesTask::class) {
31
32
description = "Signs file via Sigstore"
33
- signFile(hello.map { it.outputFile })
+ signFile(hello.map { it.destinationFile.get().asFile })
34
0 commit comments