diff --git a/README.md b/README.md index 04a34659..ade347b4 100644 --- a/README.md +++ b/README.md @@ -158,7 +158,7 @@ You can configure the plugin in `pom.xml`: com.google.cloud.functions function-maven-plugin - 0.9.8 + 0.10.0 com.example.function.Echo @@ -176,7 +176,7 @@ mvn function:run You can alternatively configure the plugin with properties on the command line: ```sh - mvn com.google.cloud.functions:function-maven-plugin:0.9.7:run \ + mvn com.google.cloud.functions:function-maven-plugin:0.10.0:run \ -Drun.functionTarget=com.example.function.Echo ``` @@ -187,7 +187,7 @@ Copy the Functions Framework jar to a local location like this: ```sh mvn dependency:copy \ - -Dartifact='com.google.cloud.functions.invoker:java-function-invoker:1.0.3' \ + -Dartifact='com.google.cloud.functions.invoker:java-function-invoker:1.1.0' \ -DoutputDirectory=. ``` @@ -195,7 +195,7 @@ In this example we use the current directory `.` but you can specify any other directory to copy to. Then run your function: ```sh -java -jar java-function-invoker-1.0.3 \ +java -jar java-function-invoker-1.1.0 \ --classpath myfunction.jar \ --target com.example.HelloWorld ``` @@ -215,7 +215,7 @@ configurations { dependencies { implementation 'com.google.cloud.functions:functions-framework-api:1.0.4' - invoker 'com.google.cloud.functions.invoker:java-function-invoker:1.0.2' + invoker 'com.google.cloud.functions.invoker:java-function-invoker:1.1.0' } tasks.register("runFunction", JavaExec) { @@ -288,7 +288,7 @@ Framework directly, you must use `--classpath` to indicate how to find the code and its dependencies. For example: ``` -java -jar java-function-invoker-1.0.3 \ +java -jar java-function-invoker-1.1.0 \ --classpath 'myfunction.jar:/some/directory:/some/library/*' \ --target com.example.HelloWorld ```