Skip to content

Commit e96a3d9

Browse files
Update version numbers in README.md. (GoogleCloudPlatform#92)
1 parent f70a307 commit e96a3d9

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ that supports Maven to create the Maven project. Add this dependency in the
3232
<dependency>
3333
<groupId>com.google.cloud.functions</groupId>
3434
<artifactId>functions-framework-api</artifactId>
35-
<version>1.0.1</version>
35+
<version>1.0.4</version>
3636
<scope>provided</scope>
3737
</dependency>
3838
```
@@ -42,7 +42,7 @@ Framework dependency in your `build.gradle` project file as follows:
4242

4343
```groovy
4444
dependencies {
45-
implementation 'com.google.cloud.functions:functions-framework-api:1.0.1'
45+
implementation 'com.google.cloud.functions:functions-framework-api:1.0.4'
4646
}
4747
4848
```
@@ -150,7 +150,7 @@ You can configure the plugin in `pom.xml`:
150150
<plugin>
151151
<groupId>com.google.cloud.functions</groupId>
152152
<artifactId>function-maven-plugin</artifactId>
153-
<version>0.9.2</version>
153+
<version>0.9.7</version>
154154
<configuration>
155155
<functionTarget>com.example.function.Echo</functionTarget>
156156
</configuration>
@@ -168,7 +168,7 @@ mvn function:run
168168
You can alternatively configure the plugin with properties on the command line:
169169

170170
```sh
171-
mvn com.google.cloud.functions:function-maven-plugin:0.9.2:run \
171+
mvn com.google.cloud.functions:function-maven-plugin:0.9.7:run \
172172
-Drun.functionTarget=com.example.function.Echo
173173
```
174174

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

180180
```sh
181181
mvn dependency:copy \
182-
-Dartifact='com.google.cloud.functions.invoker:java-function-invoker:1.0.0-alpha-2-rc5' \
182+
-Dartifact='com.google.cloud.functions.invoker:java-function-invoker:1.0.2' \
183183
-DoutputDirectory=.
184184
```
185185

186186
In this example we use the current directory `.` but you can specify any other
187187
directory to copy to. Then run your function:
188188

189189
```sh
190-
java -jar java-function-invoker-1.0.0-alpha-2-rc5.jar \
190+
java -jar java-function-invoker-1.0.2 \
191191
--classpath myfunction.jar \
192192
--target com.example.HelloWorld
193193
```
@@ -206,8 +206,8 @@ configurations {
206206
}
207207
208208
dependencies {
209-
implementation 'com.google.cloud.functions:functions-framework-api:1.0.1'
210-
invoker 'com.google.cloud.functions.invoker:java-function-invoker:1.0.0-alpha-2-rc5'
209+
implementation 'com.google.cloud.functions:functions-framework-api:1.0.4'
210+
invoker 'com.google.cloud.functions.invoker:java-function-invoker:1.0.2'
211211
}
212212
213213
tasks.register("runFunction", JavaExec) {
@@ -280,7 +280,7 @@ Framework directly, you must use `--classpath` to indicate how to find the code
280280
and its dependencies. For example:
281281

282282
```
283-
java -jar java-function-invoker-1.0.0-alpha-2-rc5.jar \
283+
java -jar java-function-invoker-1.0.2 \
284284
--classpath 'myfunction.jar:/some/directory:/some/library/*' \
285285
--target com.example.HelloWorld
286286
```

0 commit comments

Comments
 (0)