Skip to content

Updates #215

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Sep 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import org.gradle.api.tasks.testing.logging.TestExceptionFormat
import org.gradle.api.tasks.testing.logging.TestLogEvent

plugins {
kotlin("multiplatform") version "1.5.21" apply false
kotlin("multiplatform") version "1.5.30" apply false
id("base")
}

Expand All @@ -18,7 +18,7 @@ buildscript {
}
}
dependencies {
classpath("com.android.tools.build:gradle:7.0.0")
classpath("com.android.tools.build:gradle:7.0.1")
classpath("com.adarshr:gradle-test-logger-plugin:2.1.1")
}
}
Expand Down Expand Up @@ -209,7 +209,7 @@ subprojects {
dependencies {
"commonMainImplementation"("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.1")
"androidMainImplementation"("org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.5.1")
"androidMainImplementation"(platform("com.google.firebase:firebase-bom:28.3.1"))
"androidMainImplementation"(platform("com.google.firebase:firebase-bom:28.4.0"))
"commonTestImplementation"(kotlin("test-common"))
"commonTestImplementation"(kotlin("test-annotations-common"))
"commonTestImplementation"("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.1")
Expand Down
4 changes: 2 additions & 2 deletions firebase-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"homepage": "https://github.com/GitLiveApp/firebase-kotlin-sdk",
"dependencies": {
"@gitlive/firebase-common": "1.4.1",
"firebase": "8.8.1",
"kotlin": "1.5.21",
"firebase": "8.10.0",
"kotlin": "1.5.30",
"kotlinx-coroutines-core": "1.5.1"
}
}
2 changes: 1 addition & 1 deletion firebase-app/src/nativeInterop/cinterop/Cartfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json" == 8.5.0
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json" == 8.6.0
2 changes: 1 addition & 1 deletion firebase-auth/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ kotlin {
apiVersion = "1.5"
languageVersion = "1.5"
progressiveMode = true
useExperimentalAnnotation("kotlinx.coroutines.ExperimentalCoroutinesApi")
optIn("kotlinx.coroutines.ExperimentalCoroutinesApi")
}
}

Expand Down
4 changes: 2 additions & 2 deletions firebase-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"homepage": "https://github.com/GitLiveApp/firebase-kotlin-sdk",
"dependencies": {
"@gitlive/firebase-app": "1.4.1",
"firebase": "8.8.1",
"kotlin": "1.5.21",
"firebase": "8.10.0",
"kotlin": "1.5.30",
"kotlinx-coroutines-core": "1.5.1"
}
}
2 changes: 1 addition & 1 deletion firebase-auth/src/nativeInterop/cinterop/Cartfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAuthBinary.json" == 8.5.0
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAuthBinary.json" == 8.6.0
10 changes: 5 additions & 5 deletions firebase-common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ version = project.property("firebase-common.version") as String
plugins {
id("com.android.library")
kotlin("multiplatform")
kotlin("plugin.serialization") version "1.5.21"
kotlin("plugin.serialization") version "1.5.30"
}

android {
Expand Down Expand Up @@ -80,10 +80,10 @@ kotlin {
apiVersion = "1.5"
languageVersion = "1.5"
progressiveMode = true
useExperimentalAnnotation("kotlin.Experimental")
useExperimentalAnnotation("kotlinx.coroutines.ExperimentalCoroutinesApi")
useExperimentalAnnotation("kotlinx.serialization.ExperimentalSerializationApi")
useExperimentalAnnotation("kotlinx.serialization.InternalSerializationApi")
optIn("kotlin.Experimental")
optIn("kotlinx.coroutines.ExperimentalCoroutinesApi")
optIn("kotlinx.serialization.ExperimentalSerializationApi")
optIn("kotlinx.serialization.InternalSerializationApi")
}
}

Expand Down
4 changes: 2 additions & 2 deletions firebase-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
},
"homepage": "https://github.com/GitLiveApp/firebase-kotlin-multiplatform-sdk",
"dependencies": {
"firebase": "8.8.1",
"kotlin": "1.5.21",
"firebase": "8.10.0",
"kotlin": "1.5.30",
"kotlinx-coroutines-core": "1.5.1",
"kotlinx-serialization-kotlinx-serialization-runtime": "1.2.2"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ class FirebaseMapSerializer : KSerializer<Map<String, Any?>> {
override fun isElementOptional(index: Int) = false
}

@InternalSerializationApi
@Suppress("UNCHECKED_CAST")
override fun serialize(encoder: Encoder, value: Map<String, Any?>) {
map = value
Expand Down Expand Up @@ -81,7 +80,6 @@ class FirebaseListSerializer : KSerializer<Iterable<Any?>> {
override fun isElementOptional(index: Int) = false
}

@InternalSerializationApi
@Suppress("UNCHECKED_CAST")
override fun serialize(encoder: Encoder, value: Iterable<Any?>) {
list = value.toList()
Expand Down
2 changes: 1 addition & 1 deletion firebase-config/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ kotlin {
apiVersion = "1.5"
languageVersion = "1.5"
progressiveMode = true
useExperimentalAnnotation("kotlinx.coroutines.ExperimentalCoroutinesApi")
optIn("kotlinx.coroutines.ExperimentalCoroutinesApi")
}
}

Expand Down
4 changes: 2 additions & 2 deletions firebase-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"homepage": "https://github.com/GitLiveApp/firebase-kotlin-sdk",
"dependencies": {
"@gitlive/firebase-app": "1.4.1",
"firebase": "8.8.1",
"kotlin": "1.5.21",
"firebase": "8.10.0",
"kotlin": "1.5.30",
"kotlinx-coroutines-core": "1.5.1"
}
}
2 changes: 1 addition & 1 deletion firebase-config/src/nativeInterop/cinterop/Cartfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseRemoteConfigBinary.json" == 8.5.0
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseRemoteConfigBinary.json" == 8.6.0
6 changes: 3 additions & 3 deletions firebase-database/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,9 @@ kotlin {
apiVersion = "1.5"
languageVersion = "1.5"
progressiveMode = true
useExperimentalAnnotation("kotlinx.coroutines.ExperimentalCoroutinesApi")
useExperimentalAnnotation("kotlinx.coroutines.FlowPreview")
useExperimentalAnnotation("kotlinx.serialization.InternalSerializationApi")
optIn("kotlinx.coroutines.ExperimentalCoroutinesApi")
optIn("kotlinx.coroutines.FlowPreview")
optIn("kotlinx.serialization.InternalSerializationApi")
}
}

Expand Down
4 changes: 2 additions & 2 deletions firebase-database/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"homepage": "https://github.com/GitLiveApp/firebase-kotlin-sdk",
"dependencies": {
"@gitlive/firebase-app": "1.4.1",
"firebase": "8.8.1",
"kotlin": "1.5.21",
"firebase": "8.10.0",
"kotlin": "1.5.30",
"kotlinx-coroutines-core": "1.5.1"
}
}
2 changes: 1 addition & 1 deletion firebase-database/src/nativeInterop/cinterop/Cartfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseDatabaseBinary.json" == 8.5.0
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseDatabaseBinary.json" == 8.6.0
6 changes: 3 additions & 3 deletions firebase-firestore/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = project.property("firebase-firestore.version") as String
plugins {
id("com.android.library")
kotlin("multiplatform")
kotlin("plugin.serialization") version "1.5.21"
kotlin("plugin.serialization") version "1.5.30"
}

android {
Expand Down Expand Up @@ -131,8 +131,8 @@ kotlin {
apiVersion = "1.5"
languageVersion = "1.5"
progressiveMode = true
useExperimentalAnnotation("kotlinx.coroutines.ExperimentalCoroutinesApi")
useExperimentalAnnotation("kotlinx.serialization.InternalSerializationApi")
optIn("kotlinx.coroutines.ExperimentalCoroutinesApi")
optIn("kotlinx.serialization.InternalSerializationApi")
}
}

Expand Down
4 changes: 2 additions & 2 deletions firebase-firestore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"homepage": "https://github.com/GitLiveApp/firebase-kotlin-sdk",
"dependencies": {
"@gitlive/firebase-app": "1.4.1",
"firebase": "8.8.1",
"kotlin": "1.5.21",
"firebase": "8.10.0",
"kotlin": "1.5.30",
"kotlinx-coroutines-core": "1.5.1"
}
}
2 changes: 1 addition & 1 deletion firebase-firestore/src/nativeInterop/cinterop/Cartfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseFirestoreBinary.json" == 8.5.0
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseFirestoreBinary.json" == 8.6.0
4 changes: 2 additions & 2 deletions firebase-functions/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ kotlin {
apiVersion = "1.5"
languageVersion = "1.5"
progressiveMode = true
useExperimentalAnnotation("kotlinx.coroutines.ExperimentalCoroutinesApi")
useExperimentalAnnotation("kotlinx.serialization.InternalSerializationApi")
optIn("kotlinx.coroutines.ExperimentalCoroutinesApi")
optIn("kotlinx.serialization.InternalSerializationApi")
}
}

Expand Down
4 changes: 2 additions & 2 deletions firebase-functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"homepage": "https://github.com/GitLiveApp/firebase-kotlin-sdk",
"dependencies": {
"@gitlive/firebase-app": "1.4.1",
"firebase": "8.8.1",
"kotlin": "1.5.21",
"firebase": "8.10.0",
"kotlin": "1.5.30",
"kotlinx-coroutines-core": "1.5.1"
}
}
2 changes: 1 addition & 1 deletion firebase-functions/src/nativeInterop/cinterop/Cartfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseFunctionsBinary.json" == 8.5.0
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseFunctionsBinary.json" == 8.6.0
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ kotlin.js.experimental.generateKotlinExternals=false
#kotlin.mpp.enableCompatibilityMetadataVariant=true
#kotlin.mpp.enableGranularSourceSetsMetadata=true
kotlin.mpp.stability.nowarn=true
#kotlin.native.cacheKind=none
kotlin.native.cacheKind.iosX64=none
#kotlin.native.enableDependencyPropagation=false
kotlin.native.enableParallelExecutionCheck=false
kotlin.setJvmTargetFromAndroidCompileOptions=true
org.gradle.jvmargs=-Xmx2048m
org.gradle.parallel=true
testOptions.unitTests.isIncludeAndroidResources = true
kotlin.native.cacheKind.iosX64=none
#systemProp.org.gradle.internal.publish.checksums.insecure=true enable if https://github.com/gradle/gradle/issues/11308 happens during publishing
testOptions.unitTests.isIncludeAndroidResources=true

# Versions:
firebase-app.version=1.4.1
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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.0.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1.1-all.zip