@@ -41,7 +41,7 @@ that supports Maven to create the Maven project. Add this dependency in the
4141 <dependency >
4242 <groupId >com.google.cloud.functions</groupId >
4343 <artifactId >functions-framework-api</artifactId >
44- <version >1.0.4 </version >
44+ <version >1.1.2 </version >
4545 <scope >provided</scope >
4646 </dependency >
4747```
@@ -51,7 +51,7 @@ Framework dependency in your `build.gradle` project file as follows:
5151
5252``` groovy
5353 dependencies {
54- implementation 'com.google.cloud.functions:functions-framework-api:1.0.4 '
54+ implementation 'com.google.cloud.functions:functions-framework-api:1.1.2 '
5555 }
5656
5757```
@@ -188,15 +188,15 @@ Copy the Functions Framework jar to a local location like this:
188188
189189``` sh
190190mvn dependency:copy \
191- -Dartifact=' com.google.cloud.functions.invoker:java-function-invoker:1.1.1 ' \
191+ -Dartifact=' com.google.cloud.functions.invoker:java-function-invoker:1.3.2 ' \
192192 -DoutputDirectory=.
193193```
194194
195195In this example we use the current directory ` . ` but you can specify any other
196196directory to copy to. Then run your function:
197197
198198``` sh
199- java -jar java-function-invoker-1.1.1 \
199+ java -jar java-function-invoker-1.3.2 \
200200 --classpath myfunction.jar \
201201 --target com.example.HelloWorld
202202```
@@ -215,8 +215,8 @@ configurations {
215215}
216216
217217dependencies {
218- implementation 'com.google.cloud.functions:functions-framework-api:1.0.4 '
219- invoker 'com.google.cloud.functions.invoker:java-function-invoker:1.1.1 '
218+ implementation 'com.google.cloud.functions:functions-framework-api:1.1.2 '
219+ invoker 'com.google.cloud.functions.invoker:java-function-invoker:1.3.2 '
220220}
221221
222222tasks.register("runFunction", JavaExec) {
@@ -289,7 +289,7 @@ Framework directly, you must use `--classpath` to indicate how to find the code
289289and its dependencies. For example:
290290
291291```
292- java -jar java-function-invoker-1.1.1 \
292+ java -jar java-function-invoker-1.3.2 \
293293 --classpath 'myfunction.jar:/some/directory:/some/library/*' \
294294 --target com.example.HelloWorld
295295```
0 commit comments