Skip to content

Commit

Permalink
chore(dependencies): general update of dependencies (#1107)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
kikoso and wangela authored Dec 20, 2022
1 parent b03b30f commit b20987b
Show file tree
Hide file tree
Showing 38 changed files with 81 additions and 90 deletions.
3 changes: 1 addition & 2 deletions ApiDemos/java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@ Android Studio’s “Build Variants” toolbar options.
Pre-requisites
--------------

- Android SDK v30
- Android SDK v33
- Latest Android Build Tools
- Android Support Repository
- Google Repository
- Google Play Services

Expand Down
4 changes: 2 additions & 2 deletions ApiDemos/java/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ plugins {
}

android {
compileSdkVersion 31
compileSdkVersion 33

defaultConfig {
applicationId "com.example.mapdemo"
minSdkVersion 19
targetSdkVersion 31
targetSdkVersion 33
versionCode 1
versionName "1.0"
multiDexEnabled true
Expand Down
2 changes: 1 addition & 1 deletion ApiDemos/java/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip
3 changes: 1 addition & 2 deletions ApiDemos/kotlin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@ Android Studio’s “Build Variants” toolbar options.
Pre-requisites
--------------

- Android SDK v30
- Android SDK v33
- Latest Android Build Tools
- Android Support Repository
- Google Repository
- Google Play Services

Expand Down
4 changes: 2 additions & 2 deletions ApiDemos/kotlin/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ plugins {
}

android {
compileSdkVersion 31
compileSdkVersion 33
defaultConfig {
applicationId "com.example.kotlindemos"
minSdkVersion 19
targetSdkVersion 31
targetSdkVersion 33
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
Expand Down
6 changes: 3 additions & 3 deletions ApiDemos/kotlin/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Mon Jan 25 11:17:39 PST 2021
#Sat Oct 29 00:59:00 CEST 2022
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip
zipStoreBase=GRADLE_USER_HOME
3 changes: 1 addition & 2 deletions WearOS/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ gradle-based Android Studio project that [supports ambient mode](https://develop
Pre-requisites
--------------

- Android SDK v22
- Android SDK v31
- Latest Android Build Tools
- Android Support Repository
- Wear OS emulator or device

Getting Started
Expand Down
7 changes: 4 additions & 3 deletions WearOS/Wearable/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ plugins {
apply plugin: 'kotlin-android'

android {
compileSdk 31
compileSdk 33

defaultConfig {
applicationId "com.example.wearos"
Expand All @@ -36,18 +36,19 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
namespace 'com.example.wearosmap'
}

// [START maps_wear_os_dependencies]
dependencies {
// [START_EXCLUDE]
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "androidx.core:core-ktx:1.7.0"
implementation "androidx.core:core-ktx:1.9.0"
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.7.22'
// [END_EXCLUDE]
compileOnly 'com.google.android.wearable:wearable:2.9.0'
implementation 'com.google.android.support:wearable:2.9.0'
implementation 'com.google.android.gms:play-services-maps:18.0.2'
implementation 'com.google.android.gms:play-services-maps:18.1.0'

// This dependency is necessary for ambient mode
implementation 'androidx.wear:wear:1.2.0'
Expand Down
3 changes: 1 addition & 2 deletions WearOS/Wearable/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
limitations under the License.
-->

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.wearosmap" >
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<!-- Mark this app as a Wear OS app. -->
<uses-feature android:name="android.hardware.type.watch" />
Expand Down
2 changes: 1 addition & 1 deletion WearOS/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

plugins {
id 'com.android.application' version '7.1.2' apply false
id 'com.android.application' version '7.3.1' apply false
id 'com.google.android.libraries.mapsplatform.secrets-gradle-plugin' version '2.0.1' apply false
id 'org.jetbrains.kotlin.android' version '1.7.22' apply false
}
2 changes: 1 addition & 1 deletion WearOS/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Tue Mar 22 15:50:30 PDT 2022
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
34 changes: 17 additions & 17 deletions snippets/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ plugins {
}

android {
compileSdk 32
compileSdk 33
defaultConfig {
applicationId "com.google.maps.example"
minSdk 24
targetSdk 32
targetSdk 33
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
Expand All @@ -25,7 +25,7 @@ android {
}

composeOptions {
kotlinCompilerExtensionVersion '1.2.0-alpha06'
kotlinCompilerExtensionVersion '1.4.0-alpha02'
}

buildFeatures {
Expand All @@ -50,29 +50,29 @@ android {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
namespace 'com.google.maps.example'
}

// [START maps_android_compose_dependency]
dependencies {
// [START_EXCLUDE silent]
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.7.22'
implementation 'androidx.core:core-ktx:1.7.0'
implementation 'androidx.appcompat:appcompat:1.4.1'
implementation "androidx.compose.foundation:foundation:1.2.0-alpha06"
implementation "androidx.compose.material:material:1.2.0-alpha06"
implementation 'com.google.android.material:material:1.5.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
implementation 'androidx.navigation:navigation-fragment-ktx:2.4.1'
implementation 'androidx.navigation:navigation-ui-ktx:2.4.1'
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.7.21'
implementation 'androidx.core:core-ktx:1.9.0'
implementation 'androidx.appcompat:appcompat:1.5.1'
implementation "androidx.compose.foundation:foundation:1.4.0-alpha02"
implementation "androidx.compose.material:material:1.4.0-alpha02"
implementation 'com.google.android.material:material:1.7.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.navigation:navigation-fragment-ktx:2.5.3'
implementation 'androidx.navigation:navigation-ui-ktx:2.5.3'
implementation 'com.android.volley:volley:1.2.1'
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.4.1'
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.5.1'
implementation 'io.reactivex.rxjava3:rxjava:3.1.4'
implementation 'com.google.android.libraries.places:places:2.5.0'

implementation 'com.google.android.libraries.places:places:2.7.0'
gmsImplementation 'com.google.maps.android:maps-ktx:3.4.0'
gmsImplementation 'com.google.maps.android:maps-compose:2.8.0'
gmsImplementation 'com.google.android.gms:play-services-maps:18.0.2'
gmsImplementation 'com.google.android.gms:play-services-maps:18.1.0'
gmsImplementation 'com.google.maps.android:android-maps-utils:2.4.0'
gmsImplementation 'com.google.maps.android:maps-rx:1.0.0'
gmsImplementation 'com.google.maps.android:places-rx:1.0.0'
Expand All @@ -82,7 +82,7 @@ dependencies {

// [END_EXCLUDE]
implementation 'com.google.maps.android:maps-compose:2.8.0'
implementation 'com.google.android.gms:play-services-maps:18.0.2'
implementation 'com.google.android.gms:play-services-maps:18.1.0'
}
// [END maps_android_compose_dependency]

Expand Down
3 changes: 1 addition & 2 deletions snippets/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
limitations under the License.
-->

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.google.maps.example">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />

Expand Down
4 changes: 2 additions & 2 deletions snippets/build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// [START maps_android_secrets_gradle_plugin_project_level_config]
plugins {
// [START_EXCLUDE]
id 'com.android.application' version '7.1.2' apply false
id 'org.jetbrains.kotlin.android' version '1.7.22' apply false
id 'com.android.application' version '7.3.1' apply false
id 'org.jetbrains.kotlin.android' version '1.7.21' apply false
// [END_EXCLUDE]
id 'com.google.android.libraries.mapsplatform.secrets-gradle-plugin' version '2.0.1' apply false
}
Expand Down
2 changes: 1 addition & 1 deletion snippets/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Mon Mar 21 15:55:38 PDT 2022
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
2 changes: 1 addition & 1 deletion tutorials/java/CurrentPlaceDetailsOnMap/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This sample goes hand in hand with a tutorial for the Google Maps Android API:
Prerequisites
--------------

- Android SDK v31
- Android SDK v33
- Latest Android Build Tools
- Android Support Repository
- Google Repository
Expand Down
9 changes: 5 additions & 4 deletions tutorials/java/CurrentPlaceDetailsOnMap/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ plugins {
}

android {
compileSdkVersion 31
compileSdkVersion 33
defaultConfig {
applicationId "com.example.currentplacedetailsonmap"
minSdkVersion 19
targetSdkVersion 31
minSdkVersion 21
targetSdkVersion 33
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
Expand All @@ -22,6 +22,7 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
namespace 'com.example.currentplacedetailsonmap'
}

dependencies {
Expand All @@ -33,7 +34,7 @@ dependencies {
implementation 'com.google.android.gms:play-services-maps:18.1.0'
implementation 'com.google.android.libraries.places:places:3.0.0'
implementation 'com.android.volley:volley:1.2.1'
testImplementation'junit:junit:4.12'
testImplementation'junit:junit:4.13.2'
}

secrets {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
limitations under the License.
-->

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.currentplacedetailsonmap">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip
3 changes: 1 addition & 2 deletions tutorials/java/MapWithMarker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ This sample goes hand in hand with a tutorial for the Google Maps Android API:
Prerequisites
--------------

- Android SDK v30
- Android SDK v33
- Latest Android Build Tools
- Android Support Repository
- Google Repository
- Google Play Services

Expand Down
4 changes: 2 additions & 2 deletions tutorials/java/MapWithMarker/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ plugins {
}

android {
compileSdkVersion 31
compileSdkVersion 33
defaultConfig {
applicationId "com.example.mapwithmarker"
minSdkVersion 19
targetSdkVersion 31
targetSdkVersion 33
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip
3 changes: 1 addition & 2 deletions tutorials/java/Polygons/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ This sample goes hand in hand with a tutorial for the Google Maps Android API:
Prerequisites
--------------

- Android SDK v29
- Android SDK v33
- Latest Android Build Tools
- Android Support Repository

Getting started
---------------
Expand Down
4 changes: 2 additions & 2 deletions tutorials/java/Polygons/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ plugins {
}

android {
compileSdkVersion 31
compileSdkVersion 33
defaultConfig {
applicationId "com.example.polygons"
minSdkVersion 19
targetSdkVersion 31
targetSdkVersion 33
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip
3 changes: 1 addition & 2 deletions tutorials/java/StyledMap/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ This sample goes hand in hand with a tutorial for the Google Maps Android API:
Prerequisites
--------------

- Android SDK v24
- Android SDK v33
- Latest Android Build Tools
- Android Support Repository

Getting started
---------------
Expand Down
4 changes: 2 additions & 2 deletions tutorials/java/StyledMap/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ if (rootProject.file("local.properties").exists()) {
def mapsApiKey = properties.getProperty("MAPS_API_KEY", "")

android {
compileSdkVersion 31
compileSdkVersion 33
defaultConfig {
applicationId "com.example.styledmap"
minSdkVersion 19
targetSdkVersion 31
targetSdkVersion 33
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip
Loading

0 comments on commit b20987b

Please sign in to comment.