Skip to content

Commit 0cb2ebf

Browse files
committed
Update android dependencies
1 parent be8e49b commit 0cb2ebf

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

articles/ai-services/immersive-reader/includes/quickstarts/immersive-reader-client-library-java-android.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Name the project **QuickstartJava**, and select a location to save it. Select **
3939

4040
## Set up assets and authentication
4141

42-
Create a new */assets* folder. Right-click on **app** and select **Folder** -> **Assets Folder** from the dropdown.
42+
To create a new *assets* folder, right-click on **app** and select **Folder** -> **Assets Folder** from the dropdown.
4343

4444
:::image type="content" source="../../media/android/java/android-studio-assets-folder.png" alt-text="Screenshot of the Assets folder option.":::
4545

@@ -69,14 +69,14 @@ Replace the existing dependencies in the *build.gradle* file with the following
6969

7070
```build.gradle
7171
dependencies {
72-
implementation fileTree(dir: 'libs', include: ['*.jar'])
73-
implementation 'androidx.appcompat:appcompat:1.0.2'
74-
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
75-
implementation 'com.google.code.gson:gson:2.8.6'
76-
implementation 'io.github.cdimascio:java-dotenv:5.1.3'
77-
testImplementation 'junit:junit:4.12'
78-
androidTestImplementation 'androidx.test.ext:junit:1.1.0'
79-
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
72+
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))))
73+
implementation ("androidx.appcompat:appcompat:1.6.1")
74+
implementation ("androidx.constraintlayout:constraintlayout:2.1.4")
75+
implementation ("com.google.code.gson:gson:2.10.1")
76+
implementation ("io.github.cdimascio:java-dotenv:5.1.3")
77+
testImplementation ("junit:junit:4.13.2")
78+
androidTestImplementation ("androidx.test.ext:junit:1.1.5")
79+
androidTestImplementation ("androidx.test.espresso:espresso-core:3.5.1")
8080
}
8181
```
8282

articles/ai-services/immersive-reader/includes/quickstarts/immersive-reader-client-library-kotlin.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Name the project **QuickstartKotlin**, and select a location to save it. Select
3939

4040
## Set up assets and authentication
4141

42-
Create a new */assets* folder. Right-click on **app** and select **Folder** -> **Assets Folder** from the dropdown.
42+
To create a new *assets* folder, right-click on **app** and select **Folder** -> **Assets Folder** from the dropdown.
4343

4444
:::image type="content" source="../../media/android/kotlin/android-studio-assets-folder.png" alt-text="Screenshot of the Assets folder option.":::
4545

@@ -69,18 +69,18 @@ Replace the existing dependencies in the *build.gradle* file with the following
6969

7070
```build.gradle
7171
dependencies {
72-
implementation fileTree(dir: 'libs', include: ['*.jar'])
73-
implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
74-
implementation 'androidx.appcompat:appcompat:1.0.2'
75-
implementation 'androidx.core:core-ktx:1.0.2'
76-
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
77-
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.1.1"
78-
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.1.1"
79-
implementation 'com.google.code.gson:gson:2.8.6'
80-
implementation 'io.github.cdimascio:java-dotenv:5.1.3'
81-
testImplementation 'junit:junit:4.12'
82-
androidTestImplementation 'androidx.test.ext:junit:1.1.0'
83-
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
72+
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))))
73+
implementation ("org.jetbrains.kotlin:kotlin-stdlib-jdk7")
74+
implementation ("androidx.appcompat:appcompat:1.6.1")
75+
implementation ("androidx.core:core-ktx:1.12.0")
76+
implementation ("androidx.constraintlayout:constraintlayout:2.1.4")
77+
implementation ("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.1.1")
78+
implementation ("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.1.1")
79+
implementation ("com.google.code.gson:gson:2.10.1")
80+
implementation ("io.github.cdimascio:java-dotenv:5.1.3")
81+
testImplementation ("junit:junit:4.13.2")
82+
androidTestImplementation ("androidx.test.ext:junit:1.1.5")
83+
androidTestImplementation ("androidx.test.espresso:espresso-core:3.5.1")
8484
}
8585
```
8686

0 commit comments

Comments
 (0)