Skip to content

Commit eb682a4

Browse files
authored
Merge pull request #189 from shepeliev/kotlin_1_5
Updated Kotlin to 1.5.10, Android SDK/Gradle Plugin, dependencies, Gradle wrapper
2 parents 3f6ae27 + d2506f9 commit eb682a4

File tree

19 files changed

+45
-44
lines changed

19 files changed

+45
-44
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ The Firebase Kotlin SDK uses Kotlin serialization to read and write custom class
6363
```groovy
6464
plugins {
6565
kotlin("multiplatform") // or kotlin("jvm") or any other kotlin plugin
66-
kotlin("plugin.serialization") version "1.4.10"
66+
kotlin("plugin.serialization") version "1.5.10"
6767
}
6868
```
6969

build.gradle.kts

Lines changed: 8 additions & 8 deletions
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.4.31" apply false
7+
kotlin("multiplatform") version "1.5.10" apply false
88
id("base")
99
}
1010

@@ -18,12 +18,12 @@ buildscript {
1818
}
1919
}
2020
dependencies {
21-
classpath("com.android.tools.build:gradle:4.0.2")
21+
classpath("com.android.tools.build:gradle:4.2.1")
2222
classpath("com.adarshr:gradle-test-logger-plugin:2.1.1")
2323
}
2424
}
2525

26-
val targetSdkVersion by extra(28)
26+
val targetSdkVersion by extra(30)
2727
val minSdkVersion by extra(16)
2828

2929
// TODO: Hierarchical project structures are not fully supported in IDEA, enable only for a regular built (https://youtrack.jetbrains.com/issue/KT-35011)
@@ -55,7 +55,7 @@ subprojects {
5555
group = "dev.gitlive"
5656

5757
apply(plugin="com.adarshr.test-logger")
58-
58+
5959
repositories {
6060
mavenLocal()
6161
mavenCentral()
@@ -208,15 +208,15 @@ subprojects {
208208

209209
dependencies {
210210
"commonMainImplementation"(kotlin("stdlib-common"))
211-
"commonMainImplementation"("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.3")
211+
"commonMainImplementation"("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.0")
212212
"jsMainImplementation"(kotlin("stdlib-js"))
213-
"androidMainImplementation"("org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.4.3")
213+
"androidMainImplementation"("org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.5.0")
214214
"commonTestImplementation"(kotlin("test-common"))
215215
"commonTestImplementation"(kotlin("test-annotations-common"))
216-
"commonTestImplementation"("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.3")
216+
"commonTestImplementation"("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.0")
217217
"jsTestImplementation"(kotlin("test-js"))
218218
"androidAndroidTestImplementation"(kotlin("test-junit"))
219-
"androidAndroidTestImplementation"("junit:junit:4.13.1")
219+
"androidAndroidTestImplementation"("junit:junit:4.13.2")
220220
"androidAndroidTestImplementation"("androidx.test:core:1.3.0")
221221
"androidAndroidTestImplementation"("androidx.test.ext:junit:1.1.2")
222222
"androidAndroidTestImplementation"("androidx.test:runner:1.3.0")

firebase-app/build.gradle.kts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ android {
2222
defaultConfig {
2323
minSdkVersion(property("minSdkVersion") as Int)
2424
targetSdkVersion(property("targetSdkVersion") as Int)
25+
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
2526
}
2627
sourceSets {
2728
getByName("main") {
@@ -96,8 +97,8 @@ kotlin {
9697
sourceSets {
9798
all {
9899
languageSettings.apply {
99-
apiVersion = "1.4"
100-
languageVersion = "1.4"
100+
apiVersion = "1.5"
101+
languageVersion = "1.5"
101102
progressiveMode = true
102103
}
103104
}

firebase-app/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"dependencies": {
2626
"@gitlive/firebase-common": "1.3.1",
2727
"firebase": "8.5.0",
28-
"kotlin": "1.4.31",
29-
"kotlinx-coroutines-core": "1.4.3"
28+
"kotlin": "1.5.10",
29+
"kotlinx-coroutines-core": "1.5.0"
3030
}
3131
}

firebase-auth/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ kotlin {
121121
sourceSets {
122122
all {
123123
languageSettings.apply {
124-
apiVersion = "1.4"
125-
languageVersion = "1.4"
124+
apiVersion = "1.5"
125+
languageVersion = "1.5"
126126
progressiveMode = true
127127
useExperimentalAnnotation("kotlinx.coroutines.ExperimentalCoroutinesApi")
128128
}
@@ -137,7 +137,7 @@ kotlin {
137137

138138
val androidMain by getting {
139139
dependencies {
140-
api("com.google.firebase:firebase-auth:20.0.3")
140+
api("com.google.firebase:firebase-auth:20.0.4")
141141
}
142142
}
143143

firebase-auth/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"dependencies": {
2626
"@gitlive/firebase-app": "1.3.1",
2727
"firebase": "8.5.0",
28-
"kotlin": "1.4.31",
29-
"kotlinx-coroutines-core": "1.4.3"
28+
"kotlin": "1.5.10",
29+
"kotlinx-coroutines-core": "1.5.0"
3030
}
3131
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAuthBinary.json" == 7.7.0
1+
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAuthBinary.json" == 7.11.0

firebase-common/build.gradle.kts

Lines changed: 4 additions & 4 deletions
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.4.31"
12+
kotlin("plugin.serialization") version "1.5.10"
1313
}
1414

1515
android {
@@ -77,8 +77,8 @@ kotlin {
7777
sourceSets {
7878
all {
7979
languageSettings.apply {
80-
apiVersion = "1.4"
81-
languageVersion = "1.4"
80+
apiVersion = "1.5"
81+
languageVersion = "1.5"
8282
progressiveMode = true
8383
useExperimentalAnnotation("kotlin.Experimental")
8484
useExperimentalAnnotation("kotlinx.coroutines.ExperimentalCoroutinesApi")
@@ -89,7 +89,7 @@ kotlin {
8989

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

firebase-common/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
"homepage": "https://github.com/GitLiveApp/firebase-kotlin-multiplatform-sdk",
2525
"dependencies": {
2626
"firebase": "8.5.0",
27-
"kotlin": "1.4.31",
28-
"kotlinx-coroutines-core": "1.4.3",
27+
"kotlin": "1.5.10",
28+
"kotlinx-coroutines-core": "1.5.0",
2929
"kotlinx-serialization-kotlinx-serialization-runtime": "1.1.0"
3030
}
3131
}

firebase-database/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ kotlin {
9797
sourceSets {
9898
all {
9999
languageSettings.apply {
100-
apiVersion = "1.4"
101-
languageVersion = "1.4"
100+
apiVersion = "1.5"
101+
languageVersion = "1.5"
102102
progressiveMode = true
103103
useExperimentalAnnotation("kotlinx.coroutines.ExperimentalCoroutinesApi")
104104
useExperimentalAnnotation("kotlinx.coroutines.FlowPreview")
@@ -115,7 +115,7 @@ kotlin {
115115

116116
val androidMain by getting {
117117
dependencies {
118-
api("com.google.firebase:firebase-database:19.6.0")
118+
api("com.google.firebase:firebase-database:19.7.0")
119119
}
120120
}
121121

0 commit comments

Comments
 (0)