We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ac507c commit 5c74774Copy full SHA for 5c74774
build.gradle.kts
@@ -130,12 +130,14 @@ tasks.withType<BootJar> {
130
}
131
132
val buildLambda by tasks.creating(Zip::class) {
133
- val lambdaWorkDirectoryPath = "/var/task/"
+ val propertyFile = propertyFile
134
+ val propertyFileContent = generateProperties("/var/task/")
135
+
136
from(tasks.compileKotlin)
137
from(tasks.processResources) {
138
eachFile {
139
if (name == propertyFile) {
- file.writeText(generateProperties(lambdaWorkDirectoryPath))
140
+ file.writeText(propertyFileContent)
141
142
143
0 commit comments