mirror of https://github.com/dapr/java-sdk.git
Update pom.xml example (#611)
* Update version of sdk * Use xml format comment Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
This commit is contained in:
parent
bab9d85620
commit
9c85a0f78e
|
@ -22,28 +22,28 @@ description: Java SDK packages for developing Dapr applications
|
|||
## Importing Dapr's Java SDK
|
||||
|
||||
For a Maven project, add the following to your `pom.xml` file:
|
||||
```java
|
||||
```xml
|
||||
<project>
|
||||
...
|
||||
<dependencies>
|
||||
...
|
||||
// Dapr's core SDK with all features, except Actors.
|
||||
<!-- Dapr's core SDK with all features, except Actors. -->
|
||||
<dependency>
|
||||
<groupId>io.dapr</groupId>
|
||||
<artifactId>dapr-sdk</artifacetId>
|
||||
<version>1.1.0</version>
|
||||
<artifactId>dapr-sdk</artifactId>
|
||||
<version>1.2.0</version>
|
||||
</dependency>
|
||||
// Dapr's SDK for Actors (optional).
|
||||
<!-- Dapr's SDK for Actors (optional). -->
|
||||
<dependency>
|
||||
<groupId>io.dapr</groupId>
|
||||
<artifactId>dapr-sdk-actors</artifactId>
|
||||
<version>1.1.0</version>>
|
||||
<version>1.2.0</version>
|
||||
</dependency>
|
||||
// Dapr's SDK integration with SpringBoot (optional).
|
||||
<!-- Dapr's SDK integration with SpringBoot (optional). -->
|
||||
<dependency>
|
||||
<groupId>io.dapr</groupId>
|
||||
<artifactId>dapr-sdk-springboot</artifactId>
|
||||
<version>1.1.0</version>>
|
||||
<version>1.2.0</version>
|
||||
</dependency>
|
||||
...
|
||||
</dependencies>
|
||||
|
@ -57,11 +57,11 @@ For a Gradle project, add the following to your `build.gradle` file:
|
|||
dependencies {
|
||||
...
|
||||
// Dapr's core SDK with all features, except Actors.
|
||||
compile('io.dapr:dapr-sdk:1.1.0'))
|
||||
compile('io.dapr:dapr-sdk:1.2.0')
|
||||
// Dapr's SDK for Actors (optional).
|
||||
compile('io.dapr:dapr-sdk-actors:1.1.0')
|
||||
compile('io.dapr:dapr-sdk-actors:1.2.0')
|
||||
// Dapr's SDK integration with SpringBoot (optional).
|
||||
compile('io.dapr:dapr-sdk-springboot:1.1.0')
|
||||
compile('io.dapr:dapr-sdk-springboot:1.2.0')
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -240,4 +240,4 @@ public interface DemoActor {
|
|||
- Visit [Java SDK examples](https://github.com/dapr/java-sdk/tree/master/examples/src/main/java/io/dapr/examples/actors) for code samples and instructions to try actors
|
||||
|
||||
## Related links
|
||||
- [Java SDK examples](https://github.com/dapr/java-sdk/tree/master/examples/src/main/java/io/dapr/examples)
|
||||
- [Java SDK examples](https://github.com/dapr/java-sdk/tree/master/examples/src/main/java/io/dapr/examples)
|
||||
|
|
Loading…
Reference in New Issue