Skip to content

Commit 6a088e6

Browse files
author
Ace Nassri
authored
chore(functions): use correct Gradle arg names (GoogleCloudPlatform#4549)
Fixes b/177219806
1 parent 93fee3d commit 6a088e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

functions/helloworld/helloworld-gradle/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ tasks.register("runFunction", JavaExec) {
5252
classpath(configurations.invoker)
5353
inputs.files(configurations.runtimeClasspath, sourceSets.main.output)
5454
args(
55-
'--target', project.findProperty('runFunction.target') ?: '',
56-
'--port', project.findProperty('runFunction.port') ?: 8080
55+
'--target', project.findProperty('run.functionTarget') ?: '',
56+
'--port', project.findProperty('run.port') ?: 8080
5757
)
5858
doFirst {
5959
args('--classpath', files(configurations.runtimeClasspath, sourceSets.main.output).asPath)

0 commit comments

Comments
 (0)