Skip to content

Commit 3db5ed6

Browse files
Merge pull request #219331 from eric-urban/eur/java-update
SDK version and Java QS updates
2 parents b340ecd + df0f887 commit 3db5ed6

File tree

9 files changed

+18
-19
lines changed

9 files changed

+18
-19
lines changed

articles/cognitive-services/Speech-Service/includes/quickstarts/captioning/java.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ms.author: eur
1818

1919
Before you can do anything, you need to [install the Speech SDK](~/articles/cognitive-services/speech-service/quickstarts/setup-platform.md?pivots=programming-language-java&tabs=jre). The sample in this quickstart works with the [Microsoft Build of OpenJDK 17](https://www.microsoft.com/openjdk)
2020

21-
1. Install [Apache Maven](https://maven.apache.org/install.html)
21+
1. Install [Apache Maven](https://maven.apache.org/install.html). Then run `mvn -v` to confirm successful installation.
2222
1. Create a new `pom.xml` file in the root of your project, and copy the following into it:
2323
```xml
2424
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
@@ -50,7 +50,7 @@ Before you can do anything, you need to [install the Speech SDK](~/articles/cogn
5050
<dependency>
5151
<groupId>com.microsoft.cognitiveservices.speech</groupId>
5252
<artifactId>client-sdk</artifactId>
53-
<version>1.23.0</version>
53+
<version>1.24.2</version>
5454
</dependency>
5555
</dependencies>
5656
</project>

articles/cognitive-services/Speech-Service/includes/quickstarts/platform/java-android.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ Add the Speech SDK as a dependency in your project.
4949
1. Select **File** > **Project structure** > **Dependencies** > **app**.
5050
1. Select the plus symbol (**+**) to add a dependency under **Declared Dependencies**. Then select **Library dependency** from the drop-down menu.
5151
:::image type="content" source="../../../media/sdk/android-studio/sdk-install-3-zoom.png" alt-text="Screenshot that shows how to add a library dependency in Android Studio." lightbox="../../../media/sdk/android-studio/sdk-install-3.png":::
52-
1. In the **Add Library Dependency** window that appears, enter the name and version of the Speech SDK for Java: **com.microsoft.cognitiveservices.speech:client-sdk:1.23.0**. Then select **Search**.
53-
:::image type="content" source="../../../media/sdk/android-studio/sdk-install-5.png" alt-text="Screenshot showing how to search for and add the Speech SDK as a library dependency.":::
52+
1. In the **Add Library Dependency** window that appears, enter the name and version of the Speech SDK for Java: **com.microsoft.cognitiveservices.speech:client-sdk:1.24.2**. Then select **Search**.
5453
1. Make sure that the selected **Group ID** is **com.microsoft.cognitiveservices.speech**, and then select **OK**.
5554
1. Select **OK** to close the **Project Structure** window and apply your changes to the project.

articles/cognitive-services/Speech-Service/includes/quickstarts/platform/java-jre.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Follow these steps to install the Speech SDK for Java using Apache Maven:
6464
<dependency>
6565
<groupId>com.microsoft.cognitiveservices.speech</groupId>
6666
<artifactId>client-sdk</artifactId>
67-
<version>1.23.0</version>
67+
<version>1.24.2</version>
6868
</dependency>
6969
</dependencies>
7070
</project>
@@ -122,14 +122,14 @@ Follow these steps to install the Speech SDK for Java using Apache Maven:
122122
</repositories>
123123
```
124124

125-
* Add a `dependencies` element, with Speech SDK version 1.23.0 as a dependency:
125+
* Add a `dependencies` element, with Speech SDK version 1.24.2 as a dependency:
126126

127127
```xml
128128
<dependencies>
129129
<dependency>
130130
<groupId>com.microsoft.cognitiveservices.speech</groupId>
131131
<artifactId>client-sdk</artifactId>
132-
<version>1.23.0</version>
132+
<version>1.24.2</version>
133133
</dependency>
134134
</dependencies>
135135
```
@@ -153,7 +153,7 @@ repositories {
153153
}
154154

155155
dependencies {
156-
implementation group: 'com.microsoft.cognitiveservices.speech', name: 'client-sdk', version: "1.23.0", ext: "jar"
156+
implementation group: 'com.microsoft.cognitiveservices.speech', name: 'client-sdk', version: "1.24.2", ext: "jar"
157157
}
158158
```
159159
---

articles/cognitive-services/Speech-Service/includes/quickstarts/platform/java.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ You must install a Java Development Kit such as [Azul Zulu OpenJDK](https://www.
2828

2929
## Install the Speech SDK for Java
3030

31-
Some of the instructions use a specific SDK version such as `1.23.0`. You can check the latest version by [searching our GitHub repo](https://github.com/Azure-Samples/cognitive-services-speech-sdk/search?q=com.microsoft.cognitiveservices.speech%3Aclient-sdk).
31+
Some of the instructions use a specific SDK version such as `1.24.2`. You can check the latest version by [searching our GitHub repo](https://github.com/Azure-Samples/cognitive-services-speech-sdk/search?q=com.microsoft.cognitiveservices.speech%3Aclient-sdk).
3232

3333
**Choose your target environment**
3434

articles/cognitive-services/Speech-Service/includes/quickstarts/platform/objectivec.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ The macOS CocoaPod package is available for download and use with the [Xcode 9.4
3434
use_frameworks!
3535
3636
target 'AppName' do
37-
pod 'MicrosoftCognitiveServicesSpeech-macOS', '~> 1.23.0'
37+
pod 'MicrosoftCognitiveServicesSpeech-macOS', '~> 1.24.0'
3838
end
3939
```
4040
1. Run `pod install` to install the Speech SDK.
@@ -64,7 +64,7 @@ The macOS CocoaPod package is available for download and use with the [Xcode 9.4
6464
use_frameworks!
6565
6666
target 'AppName' do
67-
pod 'MicrosoftCognitiveServicesSpeech-iOS', '~> 1.23.0'
67+
pod 'MicrosoftCognitiveServicesSpeech-iOS', '~> 1.24.0'
6868
end
6969
```
7070
1. Run `pod install` to install the Speech SDK.

articles/cognitive-services/Speech-Service/includes/quickstarts/platform/swift.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ The macOS CocoaPod package is available for download and use with the [Xcode 9.4
3434
use_frameworks!
3535
3636
target 'AppName' do
37-
pod 'MicrosoftCognitiveServicesSpeech-macOS', '~> 1.23.0'
37+
pod 'MicrosoftCognitiveServicesSpeech-macOS', '~> 1.24.0'
3838
end
3939
```
4040
1. Run `pod install` to install the Speech SDK.
@@ -65,7 +65,7 @@ The macOS CocoaPod package is available for download and use with the [Xcode 9.4
6565
use_frameworks!
6666
6767
target 'AppName' do
68-
pod 'MicrosoftCognitiveServicesSpeech-iOS', '~> 1.23.0'
68+
pod 'MicrosoftCognitiveServicesSpeech-iOS', '~> 1.24.0'
6969
end
7070
```
7171
1. Run `pod install` to install the Speech SDK.

articles/cognitive-services/Speech-Service/includes/quickstarts/speech-to-text-basics/java.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ms.author: eur
2121

2222
Before you can do anything, you need to install the Speech SDK. The sample in this quickstart works with the [Java Runtime](~/articles/cognitive-services/speech-service/quickstarts/setup-platform.md?pivots=programming-language-java&tabs=jre).
2323

24-
1. Install [Apache Maven](https://maven.apache.org/install.html)
24+
1. Install [Apache Maven](https://maven.apache.org/install.html). Then run `mvn -v` to confirm successful installation.
2525
1. Create a new `pom.xml` file in the root of your project, and copy the following into it:
2626
```xml
2727
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
@@ -53,7 +53,7 @@ Before you can do anything, you need to install the Speech SDK. The sample in th
5353
<dependency>
5454
<groupId>com.microsoft.cognitiveservices.speech</groupId>
5555
<artifactId>client-sdk</artifactId>
56-
<version>1.23.0</version>
56+
<version>1.24.2</version>
5757
</dependency>
5858
</dependencies>
5959
</project>

articles/cognitive-services/Speech-Service/includes/quickstarts/speech-translation-basics/java.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ms.author: eur
1818

1919
Before you can do anything, you need to install the Speech SDK. The sample in this quickstart works with the [Java Runtime](~/articles/cognitive-services/speech-service/quickstarts/setup-platform.md?pivots=programming-language-java&tabs=jre).
2020

21-
1. Install [Apache Maven](https://maven.apache.org/install.html)
21+
1. Install [Apache Maven](https://maven.apache.org/install.html). Then run `mvn -v` to confirm successful installation.
2222
1. Create a new `pom.xml` file in the root of your project, and copy the following into it:
2323
```xml
2424
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
@@ -50,7 +50,7 @@ Before you can do anything, you need to install the Speech SDK. The sample in th
5050
<dependency>
5151
<groupId>com.microsoft.cognitiveservices.speech</groupId>
5252
<artifactId>client-sdk</artifactId>
53-
<version>1.23.0</version>
53+
<version>1.24.2</version>
5454
</dependency>
5555
</dependencies>
5656
</project>

articles/cognitive-services/Speech-Service/includes/quickstarts/text-to-speech-basics/java.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ms.author: eur
2121

2222
Before you can do anything, you need to install the Speech SDK. The sample in this quickstart works with the [Java Runtime](~/articles/cognitive-services/speech-service/quickstarts/setup-platform.md?pivots=programming-language-java&tabs=jre).
2323

24-
1. Install [Apache Maven](https://maven.apache.org/install.html)
24+
1. Install [Apache Maven](https://maven.apache.org/install.html). Then run `mvn -v` to confirm successful installation.
2525
1. Create a new `pom.xml` file in the root of your project, and copy the following into it:
2626
```xml
2727
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
@@ -53,7 +53,7 @@ Before you can do anything, you need to install the Speech SDK. The sample in th
5353
<dependency>
5454
<groupId>com.microsoft.cognitiveservices.speech</groupId>
5555
<artifactId>client-sdk</artifactId>
56-
<version>1.23.0</version>
56+
<version>1.24.2</version>
5757
</dependency>
5858
</dependencies>
5959
</project>

0 commit comments

Comments
 (0)