Skip to content

Commit 6312e64

Browse files
authored
docs: update README.md to use newest release (GoogleCloudPlatform#125)
1 parent 1863d13 commit 6312e64

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ You can configure the plugin in `pom.xml`:
158158
<plugin>
159159
<groupId>com.google.cloud.functions</groupId>
160160
<artifactId>function-maven-plugin</artifactId>
161-
<version>0.9.8</version>
161+
<version>0.10.0</version>
162162
<configuration>
163163
<functionTarget>com.example.function.Echo</functionTarget>
164164
</configuration>
@@ -176,7 +176,7 @@ mvn function:run
176176
You can alternatively configure the plugin with properties on the command line:
177177

178178
```sh
179-
mvn com.google.cloud.functions:function-maven-plugin:0.9.7:run \
179+
mvn com.google.cloud.functions:function-maven-plugin:0.10.0:run \
180180
-Drun.functionTarget=com.example.function.Echo
181181
```
182182

@@ -187,15 +187,15 @@ Copy the Functions Framework jar to a local location like this:
187187

188188
```sh
189189
mvn dependency:copy \
190-
-Dartifact='com.google.cloud.functions.invoker:java-function-invoker:1.0.3' \
190+
-Dartifact='com.google.cloud.functions.invoker:java-function-invoker:1.1.0' \
191191
-DoutputDirectory=.
192192
```
193193

194194
In this example we use the current directory `.` but you can specify any other
195195
directory to copy to. Then run your function:
196196

197197
```sh
198-
java -jar java-function-invoker-1.0.3 \
198+
java -jar java-function-invoker-1.1.0 \
199199
--classpath myfunction.jar \
200200
--target com.example.HelloWorld
201201
```
@@ -215,7 +215,7 @@ configurations {
215215
216216
dependencies {
217217
implementation 'com.google.cloud.functions:functions-framework-api:1.0.4'
218-
invoker 'com.google.cloud.functions.invoker:java-function-invoker:1.0.2'
218+
invoker 'com.google.cloud.functions.invoker:java-function-invoker:1.1.0'
219219
}
220220
221221
tasks.register("runFunction", JavaExec) {
@@ -288,7 +288,7 @@ Framework directly, you must use `--classpath` to indicate how to find the code
288288
and its dependencies. For example:
289289

290290
```
291-
java -jar java-function-invoker-1.0.3 \
291+
java -jar java-function-invoker-1.1.0 \
292292
--classpath 'myfunction.jar:/some/directory:/some/library/*' \
293293
--target com.example.HelloWorld
294294
```

0 commit comments

Comments
 (0)