Skip to content

Commit 6301d22

Browse files
authored
chore: fixed build after the dependabot updates (#1697)
* chore: fixed build after the dependabot updates * chore: increased minSdk to 21 * chore: compose updated * chore: fixed duplicates issue * chore: fixed duplicates issues * chore: fixed duplicates issues
1 parent db01102 commit 6301d22

File tree

20 files changed

+40
-45
lines changed

20 files changed

+40
-45
lines changed

ApiDemos/java/app/build.gradle

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ android {
1111

1212
defaultConfig {
1313
applicationId "com.example.mapdemo"
14-
minSdk 19
14+
minSdk 21
1515
targetSdk 34
1616
versionCode 1
1717
versionName "1.0"
@@ -43,11 +43,10 @@ android {
4343
}
4444

4545
dependencies {
46-
implementation fileTree(dir: 'libs', include: ['*.jar'])
4746
implementation 'androidx.appcompat:appcompat:1.7.0'
48-
implementation "androidx.recyclerview:recyclerview:1.3.1"
47+
implementation "androidx.recyclerview:recyclerview:1.3.2"
4948
implementation 'com.android.volley:volley:1.2.1'
50-
49+
implementation(platform("org.jetbrains.kotlin:kotlin-bom:2.0.0"))
5150
// GMS
5251
gmsImplementation 'com.google.android.gms:play-services-maps:19.0.0'
5352

ApiDemos/java/build.gradle

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,9 @@ allprojects {
1919
mavenLocal()
2020
google()
2121
mavenCentral()
22-
flatDir {
23-
dirs 'libs'
24-
}
2522
}
2623
}
2724

28-
task clean(type: Delete) {
25+
tasks.register('clean', Delete) {
2926
delete rootProject.buildDir
3027
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Tue May 07 08:42:16 CEST 2024
1+
#Wed Jul 10 22:13:55 CEST 2024
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

ApiDemos/kotlin/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ android {
1111
compileSdk 34
1212
defaultConfig {
1313
applicationId "com.example.kotlindemos"
14-
minSdk 19
14+
minSdk 21
1515
targetSdk 34
1616
versionCode 1
1717
versionName "1.0"
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Tue May 07 08:42:40 CEST 2024
1+
#Wed Jul 10 22:13:18 CEST 2024
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Wed Apr 24 17:08:14 PDT 2024
1+
#Wed Jul 10 22:24:53 CEST 2024
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

snippets/app-compose/build.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
plugins {
22
id 'com.android.application'
33
id 'org.jetbrains.kotlin.android'
4+
id 'org.jetbrains.kotlin.plugin.compose' version "2.0.0"
45
id 'com.google.android.libraries.mapsplatform.secrets-gradle-plugin'
56
}
67

@@ -24,9 +25,7 @@ android {
2425
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
2526
}
2627
}
27-
composeOptions {
28-
kotlinCompilerExtensionVersion '1.5.0'
29-
}
28+
3029

3130
buildFeatures {
3231
compose true
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Wed May 01 14:29:09 CEST 2024
2-
distributionBase=GRADLE_USER_HOME
3-
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
5-
zipStoreBase=GRADLE_USER_HOME
6-
zipStorePath=wrapper/dists
1+
#Wed Jul 10 22:14:33 CEST 2024
2+
distributionBase=GRADLE_USER_HOME
3+
distributionPath=wrapper/dists
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
5+
zipStoreBase=GRADLE_USER_HOME
6+
zipStorePath=wrapper/dists

tutorials/java/CurrentPlaceDetailsOnMap/gradle/wrapper/gradle-wrapper.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
#Tue May 07 08:43:21 CEST 2024
1+
#Wed Jul 10 22:15:41 CEST 2024
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
55
networkTimeout=10000
66
validateDistributionUrl=true
77
zipStoreBase=GRADLE_USER_HOME

tutorials/java/MapWithMarker/app/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ android {
77
compileSdk 34
88
defaultConfig {
99
applicationId "com.example.mapwithmarker"
10-
minSdk 19
10+
minSdk 21
1111
targetSdk 34
1212
versionCode 1
1313
versionName "1.0"
@@ -26,8 +26,8 @@ android {
2626
}
2727

2828
dependencies {
29-
implementation 'com.google.android.gms:play-services-maps:18.2.0'
30-
implementation fileTree(dir: 'libs', include: ['*.jar'])
29+
implementation 'com.google.android.gms:play-services-maps:19.0.0'
30+
implementation(platform("org.jetbrains.kotlin:kotlin-bom:2.0.0"))
3131
implementation 'androidx.appcompat:appcompat:1.7.0'
3232
testImplementation 'junit:junit:4.13.2'
3333
androidTestImplementation 'androidx.test.ext:junit:1.2.1'

0 commit comments

Comments
 (0)