You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/ai-services/computer-vision/includes/setup-sdk/java.md
+15-4Lines changed: 15 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@ Follow these steps to install the Vision SDK for Java using Apache Maven:
68
68
</project>
69
69
```
70
70
71
-
1. Update the version value in `<version>0.15.1-beta.1</version>` based on the latest version you find in the [Maven repository](https://mvnrepository.com/artifact/com.azure/azure-ai-vision-imageanalysis).
71
+
1. Update the version value in `<version>0.15.1-beta.1</version>` based on the latest version you find in the Maven repository for the [azure-ai-vision-imageanalysis](https://mvnrepository.com/artifact/com.azure/azure-ai-vision-imageanalysis) package.
72
72
73
73
1. Run the following Maven command to install the Vision SDK and dependencies.
74
74
```console
@@ -79,13 +79,24 @@ Follow these steps to install the Vision SDK for Java using Apache Maven:
79
79
80
80
# [Gradle](#tab/gradle)
81
81
82
-
Gradle configurations require an explicit reference to the .jar dependency extension. Add the following line in your `build.gradle` file:
82
+
1. Install [Gradle](https://gradle.org/install).
83
+
84
+
1. In a command prompt run `gradle -v` to confirm successful installation.
85
+
86
+
1. Create you Java application using Gradle. See for example [Building Java Applications Sample](https://docs.gradle.org/8.3/samples/sample_building_java_applications.html).
87
+
88
+
1. Update your `build.gradle` file by inserting 4 new dependencies:
Update the version number based on the latest version you find in the [Maven repository](https://mvnrepository.com/artifact/com.azure/azure-ai-vision-imageanalysis).
99
+
1.Update the version value in `com.azure:azure-ai-vision-imageanalysis:0.15.1-beta.1`based on the latest version you find in the Maven repository for the [azure-ai-vision-imageanalysis](https://mvnrepository.com/artifact/com.azure/azure-ai-vision-imageanalysis) package.
90
100
101
+
1. Update your Java application with Image Analysis code, compile and run it.
0 commit comments