Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cherry-pick] docs: stop calling groovy as grails (#667) #669

Merged
merged 1 commit into from
Oct 19, 2023
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
26 changes: 19 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Java SDK for [Milvus](https://github.com/milvus-io/milvus). To contribute to thi
### Prerequisites

- Java 8 or higher
- Apache Maven or Gradle/Grails
- Apache Maven or Gradle

The following table shows compatibilities between Milvus and Java SDK.

Expand All @@ -23,7 +23,7 @@ The following table shows compatibilities between Milvus and Java SDK.

### Install Java SDK

You can use **Apache Maven** or **Gradle**/**Grails** to download the SDK.
You can use **Apache Maven** or **Gradle** add Milvus SDK to your project.

- Apache Maven

Expand All @@ -35,12 +35,18 @@ You can use **Apache Maven** or **Gradle**/**Grails** to download the SDK.
</dependency>
```

- Gradle/Grails
- Gradle/Groovy

```gradle
```groovy
implementation 'io.milvus:milvus-sdk-java:2.3.2'
```

- Gradle/Kotlin

```kotlin
implementation("io.milvus:milvus-sdk-java:2.3.0")
```

### Examples

Please refer to [examples](https://github.com/milvus-io/milvus-sdk-java/tree/master/examples) folder for Java SDK examples.
Expand All @@ -57,7 +63,7 @@ Please refer to [examples](https://github.com/milvus-io/milvus-sdk-java/tree/mas
```
This is because SLF4J jar files need to be added into your application's classpath. SLF4J is required by Java SDK for logging purpose.

To fix this issue, you can use **Apache Maven** or **Gradle**/**Grails** to download the required jar files.
To fix this issue, you can use **Apache Maven** or **Gradle** to download the required jar files.

- Apache Maven

Expand All @@ -69,8 +75,14 @@ Please refer to [examples](https://github.com/milvus-io/milvus-sdk-java/tree/mas
</dependency>
```

- Gradle/Grails
- Gradle/Groovy

```gradle
```groovy
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.30'
```
- Gradle/Kotlin

```kotlin
implementation("org.slf4j:slf4j-api:1.7.30")
```