File tree Expand file tree Collapse file tree 18 files changed +87
-30
lines changed
src/nativeInterop/cinterop
src/nativeInterop/cinterop
src/nativeInterop/cinterop
src/nativeInterop/cinterop
src/nativeInterop/cinterop Expand file tree Collapse file tree 18 files changed +87
-30
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,13 @@ plugins {
10
10
11
11
buildscript {
12
12
repositories {
13
- jcenter()
14
13
google()
14
+ mavenCentral()
15
15
gradlePluginPortal()
16
16
maven {
17
17
url = uri(" https://plugins.gradle.org/m2/" )
18
18
}
19
+ jcenter()
19
20
}
20
21
dependencies {
21
22
classpath(" com.android.tools.build:gradle:4.2.1" )
@@ -58,8 +59,8 @@ subprojects {
58
59
59
60
repositories {
60
61
mavenLocal()
61
- mavenCentral()
62
62
google()
63
+ mavenCentral()
63
64
jcenter()
64
65
}
65
66
Original file line number Diff line number Diff line change 3
3
*/
4
4
5
5
import org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTarget
6
+ import org.jetbrains.kotlin.konan.target.KonanTarget
6
7
7
8
version = project.property(" firebase-app.version" ) as String
8
9
@@ -12,8 +13,8 @@ plugins {
12
13
}
13
14
14
15
repositories {
15
- mavenCentral()
16
16
google()
17
+ mavenCentral()
17
18
jcenter()
18
19
}
19
20
@@ -53,6 +54,22 @@ kotlin {
53
54
fun nativeTargetConfig (): KotlinNativeTarget .() -> Unit = {
54
55
val nativeFrameworkPaths = listOf (
55
56
projectDir.resolve(" src/nativeInterop/cinterop/Carthage/Build/iOS" )
57
+ ).plus(
58
+ listOf (
59
+ " FirebaseAnalytics" ,
60
+ " FirebaseCore" ,
61
+ " FirebaseCoreDiagnostics" ,
62
+ " FirebaseInstallations" ,
63
+ " GoogleAppMeasurement" ,
64
+ " GoogleDataTransport" ,
65
+ " GoogleUtilities" ,
66
+ " nanopb" ,
67
+ " PromisesObjC"
68
+ ).map {
69
+ val archVariant = if (konanTarget is KonanTarget .IOS_X64 ) " ios-arm64_i386_x86_64-simulator" else " ios-arm64_armv7"
70
+
71
+ projectDir.resolve(" src/nativeInterop/cinterop/Carthage/Build/$it .xcframework/$archVariant " )
72
+ }
56
73
)
57
74
58
75
binaries {
@@ -111,7 +128,7 @@ kotlin {
111
128
112
129
val androidMain by getting {
113
130
dependencies {
114
- api(" com.google.firebase:firebase-common:19.5 .0" )
131
+ api(" com.google.firebase:firebase-common:20.0 .0" )
115
132
}
116
133
}
117
134
Original file line number Diff line number Diff line change 24
24
"homepage" : " https://github.com/GitLiveApp/firebase-kotlin-sdk" ,
25
25
"dependencies" : {
26
26
"@gitlive/firebase-common" : " 1.3.1" ,
27
- "firebase" : " 8.5.0 " ,
27
+ "firebase" : " 8.6.7 " ,
28
28
"kotlin" : " 1.5.10" ,
29
29
"kotlinx-coroutines-core" : " 1.5.0"
30
30
}
Original file line number Diff line number Diff line change 1
- binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json" == 7.4.0
1
+ binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json" == 8.1.1
Original file line number Diff line number Diff line change 3
3
*/
4
4
5
5
import org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTarget
6
+ import org.jetbrains.kotlin.konan.target.KonanTarget
6
7
7
8
version = project.property(" firebase-auth.version" ) as String
8
9
@@ -75,8 +76,16 @@ kotlin {
75
76
76
77
fun nativeTargetConfig (): KotlinNativeTarget .() -> Unit = {
77
78
val nativeFrameworkPaths = listOf (
78
- rootProject.project(" firebase-app" ).projectDir.resolve(" src/nativeInterop/cinterop/Carthage/Build/iOS" ),
79
- projectDir.resolve(" src/nativeInterop/cinterop/Carthage/Build/iOS" )
79
+ rootProject.project(" firebase-app" ).projectDir.resolve(" src/nativeInterop/cinterop/Carthage/Build/iOS" )
80
+ ).plus(
81
+ listOf (
82
+ " FirebaseAuth" ,
83
+ " GTMSessionFetcher"
84
+ ).map {
85
+ val archVariant = if (konanTarget is KonanTarget .IOS_X64 ) " ios-arm64_i386_x86_64-simulator" else " ios-arm64_armv7"
86
+
87
+ projectDir.resolve(" src/nativeInterop/cinterop/Carthage/Build/$it .xcframework/$archVariant " )
88
+ }
80
89
)
81
90
82
91
binaries {
@@ -137,7 +146,7 @@ kotlin {
137
146
138
147
val androidMain by getting {
139
148
dependencies {
140
- api(" com.google.firebase:firebase-auth:20 .0.4 " )
149
+ api(" com.google.firebase:firebase-auth:21 .0.1 " )
141
150
}
142
151
}
143
152
Original file line number Diff line number Diff line change 24
24
"homepage" : " https://github.com/GitLiveApp/firebase-kotlin-sdk" ,
25
25
"dependencies" : {
26
26
"@gitlive/firebase-app" : " 1.3.1" ,
27
- "firebase" : " 8.5.0 " ,
27
+ "firebase" : " 8.6.7 " ,
28
28
"kotlin" : " 1.5.10" ,
29
29
"kotlinx-coroutines-core" : " 1.5.0"
30
30
}
Original file line number Diff line number Diff line change 1
- binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAuthBinary.json" == 7.11 .0
1
+ binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAuthBinary.json" == 8.1 .0
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ kotlin {
95
95
96
96
val androidMain by getting {
97
97
dependencies {
98
- api(" com.google.firebase:firebase-common:19.5 .0" )
98
+ api(" com.google.firebase:firebase-common:20.0 .0" )
99
99
}
100
100
}
101
101
Original file line number Diff line number Diff line change 23
23
},
24
24
"homepage" : " https://github.com/GitLiveApp/firebase-kotlin-multiplatform-sdk" ,
25
25
"dependencies" : {
26
- "firebase" : " 8.5.0 " ,
26
+ "firebase" : " 8.6.7 " ,
27
27
"kotlin" : " 1.5.10" ,
28
28
"kotlinx-coroutines-core" : " 1.5.0" ,
29
- "kotlinx-serialization-kotlinx-serialization-runtime" : " 1.1 .0"
29
+ "kotlinx-serialization-kotlinx-serialization-runtime" : " 1.2 .0"
30
30
}
31
31
}
Original file line number Diff line number Diff line change 3
3
*/
4
4
5
5
import org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTarget
6
+ import org.jetbrains.kotlin.konan.target.KonanTarget
6
7
7
8
version = project.property(" firebase-database.version" ) as String
8
9
@@ -12,8 +13,8 @@ plugins {
12
13
}
13
14
14
15
repositories {
15
- mavenCentral()
16
16
google()
17
+ mavenCentral()
17
18
jcenter()
18
19
}
19
20
@@ -51,8 +52,16 @@ kotlin {
51
52
52
53
fun nativeTargetConfig (): KotlinNativeTarget .() -> Unit = {
53
54
val nativeFrameworkPaths = listOf (
54
- rootProject.project(" firebase-app" ).projectDir.resolve(" src/nativeInterop/cinterop/Carthage/Build/iOS" ),
55
- projectDir.resolve(" src/nativeInterop/cinterop/Carthage/Build/iOS" )
55
+ rootProject.project(" firebase-app" ).projectDir.resolve(" src/nativeInterop/cinterop/Carthage/Build/iOS" )
56
+ ).plus(
57
+ listOf (
58
+ " FirebaseDatabase" ,
59
+ " leveldb-library"
60
+ ).map {
61
+ val archVariant = if (konanTarget is KonanTarget .IOS_X64 ) " ios-arm64_i386_x86_64-simulator" else " ios-arm64_armv7"
62
+
63
+ projectDir.resolve(" src/nativeInterop/cinterop/Carthage/Build/$it .xcframework/$archVariant " )
64
+ }
56
65
)
57
66
58
67
binaries {
@@ -115,7 +124,7 @@ kotlin {
115
124
116
125
val androidMain by getting {
117
126
dependencies {
118
- api(" com.google.firebase:firebase-database:19.7 .0" )
127
+ api(" com.google.firebase:firebase-database:20.0 .0" )
119
128
}
120
129
}
121
130
You can’t perform that action at this time.
0 commit comments