Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions daprdocs/content/en/java-sdk-docs/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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')
}
```

Expand Down Expand Up @@ -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)