Skip to content

Commit fb4329d

Browse files
authored
Merge pull request #5 from wanjunlei/java
prepare for release 1.0.0
2 parents 67285c1 + 5ac9a54 commit fb4329d

File tree

3 files changed

+31
-1
lines changed

3 files changed

+31
-1
lines changed

.github/workflows/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Maven Publish
22
on:
33
push:
44
branches:
5-
- 'main'
5+
- 'master'
66
tags:
77
- '*'
88
paths:

CHANGLOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
## 1.0.0 / 2023-02-20
2+
3+
The first release version.
4+

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
11
# Functions Framework for Java
22

33
An open source FaaS (Function as a service) framework for writing portable Java functions.
4+
5+
## How to use
6+
7+
A function is typically structured as a Maven project. We recommend using an IDE
8+
that supports Maven to create the Maven project. Add this dependency in the
9+
`pom.xml` file of your project:
10+
11+
```xml
12+
<dependencies>
13+
<dependency>
14+
<groupId>dev.openfunction.functions</groupId>
15+
<artifactId>functions-framework-api</artifactId>
16+
<version>1.0.0</version>
17+
</dependency>
18+
</dependencies>
19+
```
20+
21+
If you are using Gradle to build your functions, you can define the Functions
22+
Framework dependency in your `build.gradle` project file as follows:
23+
24+
```groovy
25+
dependencies {
26+
implementation 'dev.openfunction.functions:functions-framework-api:1.0.0'
27+
}
28+
29+
```

0 commit comments

Comments
 (0)