Skip to content

Commit e9dc4b2

Browse files
authored
Merge pull request #215 from suntrix/updates
Updates
2 parents 5b54af7 + 6d44c70 commit e9dc4b2

File tree

23 files changed

+42
-44
lines changed

23 files changed

+42
-44
lines changed

build.gradle.kts

+3-3
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.21" apply false
7+
kotlin("multiplatform") version "1.5.30" apply false
88
id("base")
99
}
1010

@@ -18,7 +18,7 @@ buildscript {
1818
}
1919
}
2020
dependencies {
21-
classpath("com.android.tools.build:gradle:7.0.0")
21+
classpath("com.android.tools.build:gradle:7.0.1")
2222
classpath("com.adarshr:gradle-test-logger-plugin:2.1.1")
2323
}
2424
}
@@ -209,7 +209,7 @@ subprojects {
209209
dependencies {
210210
"commonMainImplementation"("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.1")
211211
"androidMainImplementation"("org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.5.1")
212-
"androidMainImplementation"(platform("com.google.firebase:firebase-bom:28.3.1"))
212+
"androidMainImplementation"(platform("com.google.firebase:firebase-bom:28.4.0"))
213213
"commonTestImplementation"(kotlin("test-common"))
214214
"commonTestImplementation"(kotlin("test-annotations-common"))
215215
"commonTestImplementation"("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.1")

firebase-app/package.json

+2-2
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.8.1",
28-
"kotlin": "1.5.21",
27+
"firebase": "8.10.0",
28+
"kotlin": "1.5.30",
2929
"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.5.0
1+
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json" == 8.6.0

firebase-auth/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ kotlin {
148148
apiVersion = "1.5"
149149
languageVersion = "1.5"
150150
progressiveMode = true
151-
useExperimentalAnnotation("kotlinx.coroutines.ExperimentalCoroutinesApi")
151+
optIn("kotlinx.coroutines.ExperimentalCoroutinesApi")
152152
}
153153
}
154154

firebase-auth/package.json

+2-2
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.8.1",
28-
"kotlin": "1.5.21",
27+
"firebase": "8.10.0",
28+
"kotlin": "1.5.30",
2929
"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.5.0
1+
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAuthBinary.json" == 8.6.0

firebase-common/build.gradle.kts

+5-5
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.21"
12+
kotlin("plugin.serialization") version "1.5.30"
1313
}
1414

1515
android {
@@ -80,10 +80,10 @@ kotlin {
8080
apiVersion = "1.5"
8181
languageVersion = "1.5"
8282
progressiveMode = true
83-
useExperimentalAnnotation("kotlin.Experimental")
84-
useExperimentalAnnotation("kotlinx.coroutines.ExperimentalCoroutinesApi")
85-
useExperimentalAnnotation("kotlinx.serialization.ExperimentalSerializationApi")
86-
useExperimentalAnnotation("kotlinx.serialization.InternalSerializationApi")
83+
optIn("kotlin.Experimental")
84+
optIn("kotlinx.coroutines.ExperimentalCoroutinesApi")
85+
optIn("kotlinx.serialization.ExperimentalSerializationApi")
86+
optIn("kotlinx.serialization.InternalSerializationApi")
8787
}
8888
}
8989

firebase-common/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
},
2424
"homepage": "https://github.com/GitLiveApp/firebase-kotlin-multiplatform-sdk",
2525
"dependencies": {
26-
"firebase": "8.8.1",
27-
"kotlin": "1.5.21",
26+
"firebase": "8.10.0",
27+
"kotlin": "1.5.30",
2828
"kotlinx-coroutines-core": "1.5.1",
2929
"kotlinx-serialization-kotlinx-serialization-runtime": "1.2.2"
3030
}

firebase-common/src/commonMain/kotlin/dev/gitlive/firebase/serializers.kt

-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ class FirebaseMapSerializer : KSerializer<Map<String, Any?>> {
3636
override fun isElementOptional(index: Int) = false
3737
}
3838

39-
@InternalSerializationApi
4039
@Suppress("UNCHECKED_CAST")
4140
override fun serialize(encoder: Encoder, value: Map<String, Any?>) {
4241
map = value
@@ -81,7 +80,6 @@ class FirebaseListSerializer : KSerializer<Iterable<Any?>> {
8180
override fun isElementOptional(index: Int) = false
8281
}
8382

84-
@InternalSerializationApi
8583
@Suppress("UNCHECKED_CAST")
8684
override fun serialize(encoder: Encoder, value: Iterable<Any?>) {
8785
list = value.toList()

firebase-config/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ kotlin {
125125
apiVersion = "1.5"
126126
languageVersion = "1.5"
127127
progressiveMode = true
128-
useExperimentalAnnotation("kotlinx.coroutines.ExperimentalCoroutinesApi")
128+
optIn("kotlinx.coroutines.ExperimentalCoroutinesApi")
129129
}
130130
}
131131

firebase-config/package.json

+2-2
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.8.1",
28-
"kotlin": "1.5.21",
27+
"firebase": "8.10.0",
28+
"kotlin": "1.5.30",
2929
"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.5.0
1+
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseRemoteConfigBinary.json" == 8.6.0

firebase-database/build.gradle.kts

+3-3
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,9 @@ kotlin {
124124
apiVersion = "1.5"
125125
languageVersion = "1.5"
126126
progressiveMode = true
127-
useExperimentalAnnotation("kotlinx.coroutines.ExperimentalCoroutinesApi")
128-
useExperimentalAnnotation("kotlinx.coroutines.FlowPreview")
129-
useExperimentalAnnotation("kotlinx.serialization.InternalSerializationApi")
127+
optIn("kotlinx.coroutines.ExperimentalCoroutinesApi")
128+
optIn("kotlinx.coroutines.FlowPreview")
129+
optIn("kotlinx.serialization.InternalSerializationApi")
130130
}
131131
}
132132

firebase-database/package.json

+2-2
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.8.1",
28-
"kotlin": "1.5.21",
27+
"firebase": "8.10.0",
28+
"kotlin": "1.5.30",
2929
"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.5.0
1+
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseDatabaseBinary.json" == 8.6.0

firebase-firestore/build.gradle.kts

+3-3
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.21"
13+
kotlin("plugin.serialization") version "1.5.30"
1414
}
1515

1616
android {
@@ -131,8 +131,8 @@ kotlin {
131131
apiVersion = "1.5"
132132
languageVersion = "1.5"
133133
progressiveMode = true
134-
useExperimentalAnnotation("kotlinx.coroutines.ExperimentalCoroutinesApi")
135-
useExperimentalAnnotation("kotlinx.serialization.InternalSerializationApi")
134+
optIn("kotlinx.coroutines.ExperimentalCoroutinesApi")
135+
optIn("kotlinx.serialization.InternalSerializationApi")
136136
}
137137
}
138138

firebase-firestore/package.json

+2-2
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.8.1",
28-
"kotlin": "1.5.21",
27+
"firebase": "8.10.0",
28+
"kotlin": "1.5.30",
2929
"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.5.0
1+
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseFirestoreBinary.json" == 8.6.0

firebase-functions/build.gradle.kts

+2-2
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ kotlin {
119119
apiVersion = "1.5"
120120
languageVersion = "1.5"
121121
progressiveMode = true
122-
useExperimentalAnnotation("kotlinx.coroutines.ExperimentalCoroutinesApi")
123-
useExperimentalAnnotation("kotlinx.serialization.InternalSerializationApi")
122+
optIn("kotlinx.coroutines.ExperimentalCoroutinesApi")
123+
optIn("kotlinx.serialization.InternalSerializationApi")
124124
}
125125
}
126126

firebase-functions/package.json

+2-2
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.8.1",
28-
"kotlin": "1.5.21",
27+
"firebase": "8.10.0",
28+
"kotlin": "1.5.30",
2929
"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.5.0
1+
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseFunctionsBinary.json" == 8.6.0

gradle.properties

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ kotlin.js.experimental.generateKotlinExternals=false
88
#kotlin.mpp.enableCompatibilityMetadataVariant=true
99
#kotlin.mpp.enableGranularSourceSetsMetadata=true
1010
kotlin.mpp.stability.nowarn=true
11-
#kotlin.native.cacheKind=none
11+
kotlin.native.cacheKind.iosX64=none
1212
#kotlin.native.enableDependencyPropagation=false
1313
kotlin.native.enableParallelExecutionCheck=false
1414
kotlin.setJvmTargetFromAndroidCompileOptions=true
1515
org.gradle.jvmargs=-Xmx2048m
1616
org.gradle.parallel=true
17-
testOptions.unitTests.isIncludeAndroidResources = true
18-
kotlin.native.cacheKind.iosX64=none
17+
#systemProp.org.gradle.internal.publish.checksums.insecure=true enable if https://github.com/gradle/gradle/issues/11308 happens during publishing
18+
testOptions.unitTests.isIncludeAndroidResources=true
1919

2020
# Versions:
2121
firebase-app.version=1.4.1

gradle/wrapper/gradle-wrapper.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1.1-all.zip

0 commit comments

Comments
 (0)