Skip to content

Commit ebbb40c

Browse files
committed
updated kotlin & dependencies, using Firebase Android BoM (https://firebase.google.com/docs/android/learn-more#bom)
1 parent 1120a8d commit ebbb40c

File tree

21 files changed

+50
-49
lines changed

21 files changed

+50
-49
lines changed

build.gradle.kts

+9-8
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import org.gradle.api.tasks.testing.logging.TestExceptionFormat
44
import org.gradle.api.tasks.testing.logging.TestLogEvent
55

66
plugins {
7-
kotlin("multiplatform") version "1.5.10" apply false
7+
kotlin("multiplatform") version "1.5.21" apply false
88
id("base")
99
}
1010

@@ -19,7 +19,7 @@ buildscript {
1919
jcenter()
2020
}
2121
dependencies {
22-
classpath("com.android.tools.build:gradle:4.2.1")
22+
classpath("com.android.tools.build:gradle:4.2.2")
2323
classpath("com.adarshr:gradle-test-logger-plugin:2.1.1")
2424
}
2525
}
@@ -210,18 +210,19 @@ subprojects {
210210

211211
dependencies {
212212
"commonMainImplementation"(kotlin("stdlib-common"))
213-
"commonMainImplementation"("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.0")
213+
"commonMainImplementation"("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.1")
214214
"jsMainImplementation"(kotlin("stdlib-js"))
215-
"androidMainImplementation"("org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.5.0")
215+
"androidMainImplementation"("org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.5.1")
216+
"androidMainImplementation"(platform("com.google.firebase:firebase-bom:28.2.1"))
216217
"commonTestImplementation"(kotlin("test-common"))
217218
"commonTestImplementation"(kotlin("test-annotations-common"))
218-
"commonTestImplementation"("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.0")
219+
"commonTestImplementation"("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.1")
219220
"jsTestImplementation"(kotlin("test-js"))
220221
"androidAndroidTestImplementation"(kotlin("test-junit"))
221222
"androidAndroidTestImplementation"("junit:junit:4.13.2")
222-
"androidAndroidTestImplementation"("androidx.test:core:1.3.0")
223-
"androidAndroidTestImplementation"("androidx.test.ext:junit:1.1.2")
224-
"androidAndroidTestImplementation"("androidx.test:runner:1.3.0")
223+
"androidAndroidTestImplementation"("androidx.test:core:1.4.0")
224+
"androidAndroidTestImplementation"("androidx.test.ext:junit:1.1.3")
225+
"androidAndroidTestImplementation"("androidx.test:runner:1.4.0")
225226
}
226227
}
227228

firebase-app/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ kotlin {
128128

129129
val androidMain by getting {
130130
dependencies {
131-
api("com.google.firebase:firebase-common:20.0.0")
131+
api("com.google.firebase:firebase-common-ktx")
132132
}
133133
}
134134

firebase-app/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
"homepage": "https://github.com/GitLiveApp/firebase-kotlin-sdk",
2525
"dependencies": {
2626
"@gitlive/firebase-common": "1.4.1",
27-
"firebase": "8.6.7",
28-
"kotlin": "1.5.10",
29-
"kotlinx-coroutines-core": "1.5.0"
27+
"firebase": "8.7.1",
28+
"kotlin": "1.5.21",
29+
"kotlinx-coroutines-core": "1.5.1"
3030
}
3131
}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json" == 8.1.1
1+
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json" == 8.3.0

firebase-auth/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ kotlin {
146146

147147
val androidMain by getting {
148148
dependencies {
149-
api("com.google.firebase:firebase-auth:21.0.1")
149+
api("com.google.firebase:firebase-auth-ktx")
150150
}
151151
}
152152

firebase-auth/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
"homepage": "https://github.com/GitLiveApp/firebase-kotlin-sdk",
2525
"dependencies": {
2626
"@gitlive/firebase-app": "1.4.1",
27-
"firebase": "8.6.7",
28-
"kotlin": "1.5.10",
29-
"kotlinx-coroutines-core": "1.5.0"
27+
"firebase": "8.7.1",
28+
"kotlin": "1.5.21",
29+
"kotlinx-coroutines-core": "1.5.1"
3030
}
3131
}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAuthBinary.json" == 8.1.0
1+
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAuthBinary.json" == 8.3.0

firebase-common/build.gradle.kts

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ version = project.property("firebase-common.version") as String
99
plugins {
1010
id("com.android.library")
1111
kotlin("multiplatform")
12-
kotlin("plugin.serialization") version "1.5.10"
12+
kotlin("plugin.serialization") version "1.5.21"
1313
}
1414

1515
android {
@@ -89,21 +89,21 @@ kotlin {
8989

9090
val commonMain by getting {
9191
dependencies {
92-
api("org.jetbrains.kotlinx:kotlinx-serialization-core:1.2.0")
92+
api("org.jetbrains.kotlinx:kotlinx-serialization-core:1.2.2")
9393
}
9494
}
9595

9696
val androidMain by getting {
9797
dependencies {
98-
api("com.google.firebase:firebase-common:20.0.0")
98+
api("com.google.firebase:firebase-common-ktx")
9999
}
100100
}
101101

102102
val iosMain by getting
103103

104104
val jsMain by getting {
105105
dependencies {
106-
api(npm("firebase", "8.2.0"))
106+
api(npm("firebase", "8.7.1"))
107107
}
108108
}
109109
}

firebase-common/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
},
2424
"homepage": "https://github.com/GitLiveApp/firebase-kotlin-multiplatform-sdk",
2525
"dependencies": {
26-
"firebase": "8.6.7",
27-
"kotlin": "1.5.10",
28-
"kotlinx-coroutines-core": "1.5.0",
29-
"kotlinx-serialization-kotlinx-serialization-runtime": "1.2.0"
26+
"firebase": "8.7.1",
27+
"kotlin": "1.5.21",
28+
"kotlinx-coroutines-core": "1.5.1",
29+
"kotlinx-serialization-kotlinx-serialization-runtime": "1.2.2"
3030
}
3131
}

firebase-config/build.gradle.kts

+3-3
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ kotlin {
122122
sourceSets {
123123
all {
124124
languageSettings.apply {
125-
apiVersion = "1.4"
126-
languageVersion = "1.4"
125+
apiVersion = "1.5"
126+
languageVersion = "1.5"
127127
progressiveMode = true
128128
useExperimentalAnnotation("kotlinx.coroutines.ExperimentalCoroutinesApi")
129129
}
@@ -138,7 +138,7 @@ kotlin {
138138

139139
val androidMain by getting {
140140
dependencies {
141-
api("com.google.firebase:firebase-config-ktx:21.0.0")
141+
api("com.google.firebase:firebase-config-ktx")
142142
}
143143
}
144144

firebase-config/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
"homepage": "https://github.com/GitLiveApp/firebase-kotlin-sdk",
2525
"dependencies": {
2626
"@gitlive/firebase-app": "1.4.1",
27-
"firebase": "8.5.0",
28-
"kotlin": "1.4.31",
29-
"kotlinx-coroutines-core": "1.4.3"
27+
"firebase": "8.7.1",
28+
"kotlin": "1.5.21",
29+
"kotlinx-coroutines-core": "1.5.1"
3030
}
3131
}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseRemoteConfigBinary.json" == 8.1.0
1+
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseRemoteConfigBinary.json" == 8.3.0

firebase-database/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ kotlin {
124124

125125
val androidMain by getting {
126126
dependencies {
127-
api("com.google.firebase:firebase-database:20.0.0")
127+
api("com.google.firebase:firebase-database-ktx")
128128
}
129129
}
130130

firebase-database/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
"homepage": "https://github.com/GitLiveApp/firebase-kotlin-sdk",
2525
"dependencies": {
2626
"@gitlive/firebase-app": "1.4.1",
27-
"firebase": "8.6.7",
28-
"kotlin": "1.5.10",
29-
"kotlinx-coroutines-core": "1.5.0"
27+
"firebase": "8.7.1",
28+
"kotlin": "1.5.21",
29+
"kotlinx-coroutines-core": "1.5.1"
3030
}
3131
}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseDatabaseBinary.json" == 8.1.0
1+
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseDatabaseBinary.json" == 8.3.0

firebase-firestore/build.gradle.kts

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ version = project.property("firebase-firestore.version") as String
1010
plugins {
1111
id("com.android.library")
1212
kotlin("multiplatform")
13-
kotlin("plugin.serialization") version "1.5.10"
13+
kotlin("plugin.serialization") version "1.5.21"
1414
}
1515

1616
android {
@@ -128,7 +128,7 @@ kotlin {
128128

129129
val androidMain by getting {
130130
dependencies {
131-
api("com.google.firebase:firebase-firestore:23.0.1")
131+
api("com.google.firebase:firebase-firestore-ktx")
132132
}
133133
}
134134

firebase-firestore/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
"homepage": "https://github.com/GitLiveApp/firebase-kotlin-sdk",
2525
"dependencies": {
2626
"@gitlive/firebase-app": "1.4.1",
27-
"firebase": "8.6.7",
28-
"kotlin": "1.5.10",
29-
"kotlinx-coroutines-core": "1.5.0"
27+
"firebase": "8.7.1",
28+
"kotlin": "1.5.21",
29+
"kotlinx-coroutines-core": "1.5.1"
3030
}
3131
}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseFirestoreBinary.json" == 8.1.0
1+
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseFirestoreBinary.json" == 8.3.0

firebase-functions/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ kotlin {
117117

118118
val androidMain by getting {
119119
dependencies {
120-
api("com.google.firebase:firebase-functions:20.0.0")
120+
api("com.google.firebase:firebase-functions-ktx")
121121
}
122122
}
123123

firebase-functions/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
"homepage": "https://github.com/GitLiveApp/firebase-kotlin-sdk",
2525
"dependencies": {
2626
"@gitlive/firebase-app": "1.4.1",
27-
"firebase": "8.6.7",
28-
"kotlin": "1.5.0",
29-
"kotlinx-coroutines-core": "1.5.0"
27+
"firebase": "8.7.1",
28+
"kotlin": "1.5.21",
29+
"kotlinx-coroutines-core": "1.5.1"
3030
}
3131
}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseFunctionsBinary.json" == 8.1.0
1+
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseFunctionsBinary.json" == 8.3.0

0 commit comments

Comments
 (0)