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 <5506675+wangela@users.noreply.github.com>
This commit is contained in:
Enrique López Mañas 2022-12-20 22:50:58 +01:00 committed by GitHub
parent b03b30f776
commit b20987b9c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
38 changed files with 81 additions and 90 deletions

View File

@ -15,9 +15,8 @@ Android Studios “Build Variants” toolbar options.
Pre-requisites
--------------
- Android SDK v30
- Android SDK v33
- Latest Android Build Tools
- Android Support Repository
- Google Repository
- Google Play Services

View File

@ -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

View File

@ -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

View File

@ -15,9 +15,8 @@ Android Studios “Build Variants” toolbar options.
Pre-requisites
--------------
- Android SDK v30
- Android SDK v33
- Latest Android Build Tools
- Android Support Repository
- Google Repository
- Google Play Services

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -21,7 +21,7 @@ plugins {
apply plugin: 'kotlin-android'
android {
compileSdk 31
compileSdk 33
defaultConfig {
applicationId "com.example.wearos"
@ -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'

View File

@ -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" />

View File

@ -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
}

View File

@ -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

View File

@ -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"
@ -25,7 +25,7 @@ android {
}
composeOptions {
kotlinCompilerExtensionVersion '1.2.0-alpha06'
kotlinCompilerExtensionVersion '1.4.0-alpha02'
}
buildFeatures {
@ -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'
@ -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]

View File

@ -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" />

View File

@ -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
}

View File

@ -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

View File

@ -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

View File

@ -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"
@ -22,6 +22,7 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
namespace 'com.example.currentplacedetailsonmap'
}
dependencies {
@ -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 {

View File

@ -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" />

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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
---------------

View File

@ -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"

View File

@ -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

View File

@ -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
---------------

View File

@ -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"

View File

@ -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

View File

@ -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
---------------

View File

@ -5,11 +5,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"
@ -23,6 +23,7 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
namespace 'com.example.currentplacedetailsonmap'
}
dependencies {
@ -34,7 +35,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.13'
testImplementation'junit:junit:4.13.2'
implementation "androidx.core:core-ktx:1.9.0"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"

View File

@ -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" />

View File

@ -1,6 +1,6 @@
#Wed Jan 27 11:35:42 PST 2021
#Sun Nov 27 16:25:55 CET 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.3.3-all.zip
zipStoreBase=GRADLE_USER_HOME

View File

@ -7,7 +7,7 @@ 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

View File

@ -5,12 +5,12 @@ plugins {
}
android {
compileSdkVersion 31
buildToolsVersion "28.0.3"
compileSdkVersion 33
buildToolsVersion "30.0.3"
defaultConfig {
applicationId "com.example.mapwithmarker"
minSdkVersion 19
targetSdkVersion 31
targetSdkVersion 33
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

View File

@ -1,6 +1,6 @@
#Mon May 23 16:40:57 PDT 2022
#Sun Nov 27 16:28:40 CET 2022
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME

View File

@ -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
---------------

View File

@ -5,11 +5,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"

View File

@ -1,6 +1,6 @@
#Wed Jan 27 11:41:00 PST 2021
#Sun Nov 27 16:29:54 CET 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.3.3-all.zip
zipStoreBase=GRADLE_USER_HOME