Skip to content

Commit 98be2c0

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

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

@@ -18,7 +18,7 @@ buildscript {
1818
}
1919
}
2020
dependencies {
21-
classpath("com.android.tools.build:gradle:4.2.1")
21+
classpath("com.android.tools.build:gradle:4.2.2")
2222
classpath("com.adarshr:gradle-test-logger-plugin:2.1.1")
2323
}
2424
}
@@ -208,18 +208,19 @@ subprojects {
208208

209209
dependencies {
210210
"commonMainImplementation"(kotlin("stdlib-common"))
211-
"commonMainImplementation"("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.0")
211+
"commonMainImplementation"("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.1")
212212
"jsMainImplementation"(kotlin("stdlib-js"))
213-
"androidMainImplementation"("org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.5.0")
213+
"androidMainImplementation"("org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.5.1")
214+
"androidMainImplementation"(platform("com.google.firebase:firebase-bom:28.3.0"))
214215
"commonTestImplementation"(kotlin("test-common"))
215216
"commonTestImplementation"(kotlin("test-annotations-common"))
216-
"commonTestImplementation"("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.0")
217+
"commonTestImplementation"("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.1")
217218
"jsTestImplementation"(kotlin("test-js"))
218219
"androidAndroidTestImplementation"(kotlin("test-junit"))
219220
"androidAndroidTestImplementation"("junit:junit:4.13.2")
220-
"androidAndroidTestImplementation"("androidx.test:core:1.3.0")
221-
"androidAndroidTestImplementation"("androidx.test.ext:junit:1.1.2")
222-
"androidAndroidTestImplementation"("androidx.test:runner:1.3.0")
221+
"androidAndroidTestImplementation"("androidx.test:core:1.4.0")
222+
"androidAndroidTestImplementation"("androidx.test.ext:junit:1.1.3")
223+
"androidAndroidTestImplementation"("androidx.test:runner:1.4.0")
223224
}
224225
}
225226

firebase-app/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ kotlin {
127127

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

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.8.0",
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.4.0

firebase-auth/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ kotlin {
145145

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

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.8.0",
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.4.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.8.0",
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.8.0",
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.4.0

firebase-database/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ kotlin {
123123

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

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.8.0",
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.4.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.8.0",
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.4.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.8.0",
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.4.0

0 commit comments

Comments
 (0)