Skip to content

Commit b20987b

Browse files
kikosowangela
andauthored
chore(dependencies): general update of dependencies (#1107)
* chore(dependencies): general update of dependencies * doc: updated API level for WearOS * chore: updated API level for WearOS * chore: moved namespace to Gradle file Co-authored-by: Angela Yu <[email protected]>
1 parent b03b30f commit b20987b

File tree

38 files changed

+81
-90
lines changed

38 files changed

+81
-90
lines changed

ApiDemos/java/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@ Android Studio’s “Build Variants” toolbar options.
1515
Pre-requisites
1616
--------------
1717

18-
- Android SDK v30
18+
- Android SDK v33
1919
- Latest Android Build Tools
20-
- Android Support Repository
2120
- Google Repository
2221
- Google Play Services
2322

ApiDemos/java/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ plugins {
77
}
88

99
android {
10-
compileSdkVersion 31
10+
compileSdkVersion 33
1111

1212
defaultConfig {
1313
applicationId "com.example.mapdemo"
1414
minSdkVersion 19
15-
targetSdkVersion 31
15+
targetSdkVersion 33
1616
versionCode 1
1717
versionName "1.0"
1818
multiDexEnabled true

ApiDemos/java/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip

ApiDemos/kotlin/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@ Android Studio’s “Build Variants” toolbar options.
1515
Pre-requisites
1616
--------------
1717

18-
- Android SDK v30
18+
- Android SDK v33
1919
- Latest Android Build Tools
20-
- Android Support Repository
2120
- Google Repository
2221
- Google Play Services
2322

ApiDemos/kotlin/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ plugins {
88
}
99

1010
android {
11-
compileSdkVersion 31
11+
compileSdkVersion 33
1212
defaultConfig {
1313
applicationId "com.example.kotlindemos"
1414
minSdkVersion 19
15-
targetSdkVersion 31
15+
targetSdkVersion 33
1616
versionCode 1
1717
versionName "1.0"
1818
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Mon Jan 25 11:17:39 PST 2021
1+
#Sat Oct 29 00:59:00 CEST 2022
22
distributionBase=GRADLE_USER_HOME
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
34
distributionPath=wrapper/dists
4-
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip
6+
zipStoreBase=GRADLE_USER_HOME

WearOS/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@ gradle-based Android Studio project that [supports ambient mode](https://develop
88
Pre-requisites
99
--------------
1010

11-
- Android SDK v22
11+
- Android SDK v31
1212
- Latest Android Build Tools
13-
- Android Support Repository
1413
- Wear OS emulator or device
1514

1615
Getting Started

WearOS/Wearable/build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ plugins {
2121
apply plugin: 'kotlin-android'
2222

2323
android {
24-
compileSdk 31
24+
compileSdk 33
2525

2626
defaultConfig {
2727
applicationId "com.example.wearos"
@@ -36,18 +36,19 @@ android {
3636
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
3737
}
3838
}
39+
namespace 'com.example.wearosmap'
3940
}
4041

4142
// [START maps_wear_os_dependencies]
4243
dependencies {
4344
// [START_EXCLUDE]
4445
implementation fileTree(dir: 'libs', include: ['*.jar'])
45-
implementation "androidx.core:core-ktx:1.7.0"
46+
implementation "androidx.core:core-ktx:1.9.0"
4647
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.7.22'
4748
// [END_EXCLUDE]
4849
compileOnly 'com.google.android.wearable:wearable:2.9.0'
4950
implementation 'com.google.android.support:wearable:2.9.0'
50-
implementation 'com.google.android.gms:play-services-maps:18.0.2'
51+
implementation 'com.google.android.gms:play-services-maps:18.1.0'
5152

5253
// This dependency is necessary for ambient mode
5354
implementation 'androidx.wear:wear:1.2.0'

WearOS/Wearable/src/main/AndroidManifest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515
limitations under the License.
1616
-->
1717

18-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
19-
package="com.example.wearosmap" >
18+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
2019

2120
<!-- Mark this app as a Wear OS app. -->
2221
<uses-feature android:name="android.hardware.type.watch" />

WearOS/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616

1717
plugins {
18-
id 'com.android.application' version '7.1.2' apply false
18+
id 'com.android.application' version '7.3.1' apply false
1919
id 'com.google.android.libraries.mapsplatform.secrets-gradle-plugin' version '2.0.1' apply false
2020
id 'org.jetbrains.kotlin.android' version '1.7.22' apply false
2121
}

0 commit comments

Comments
 (0)