Skip to content

Commit 74c3b93

Browse files
update build.gradle.kts
1 parent 33f75ca commit 74c3b93

File tree

2 files changed

+14
-18
lines changed

2 files changed

+14
-18
lines changed

firebase-installations/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ kotlin {
5050
cocoapods {
5151
ios.deploymentTarget = "11.0"
5252
framework {
53-
baseName = "FirebaseFunctions"
53+
baseName = "FirebaseInstallations"
5454
}
5555
noPodspec()
5656
pod("FirebaseInstallations") {

firebase-storage/build.gradle.kts

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,25 @@
11
/*
2-
* Copyright (c) 2020 GitLive Ltd. Use of this source code is governed by the Apache 2.0 license.
2+
* Copyright (c) 2023 GitLive Ltd. Use of this source code is governed by the Apache 2.0 license.
33
*/
44

5-
import org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTarget
6-
import org.jetbrains.kotlin.konan.target.KonanTarget
7-
85
version = project.property("firebase-storage.version") as String
96

107
plugins {
118
id("com.android.library")
12-
kotlin("multiplatform")
139
kotlin("native.cocoapods")
10+
kotlin("multiplatform")
1411
}
1512

1613
android {
1714
compileSdk = property("targetSdkVersion") as Int
1815
defaultConfig {
1916
minSdk = property("minSdkVersion") as Int
2017
targetSdk = property("targetSdkVersion") as Int
21-
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
22-
multiDexEnabled = true
2318
}
2419
sourceSets {
2520
getByName("main") {
2621
manifest.srcFile("src/androidMain/AndroidManifest.xml")
2722
}
28-
getByName("androidTest"){
29-
java.srcDir(file("src/androidAndroidTest/kotlin"))
30-
manifest.srcFile("src/androidAndroidTest/AndroidManifest.xml")
31-
}
3223
}
3324
testOptions {
3425
unitTests.apply {
@@ -70,6 +61,13 @@ kotlin {
7061

7162
js {
7263
useCommonJs()
64+
nodejs {
65+
testTask {
66+
useKarma {
67+
useChromeHeadless()
68+
}
69+
}
70+
}
7371
browser {
7472
testTask {
7573
useKarma {
@@ -82,10 +80,9 @@ kotlin {
8280
sourceSets {
8381
all {
8482
languageSettings.apply {
85-
apiVersion = "1.6"
86-
languageVersion = "1.6"
83+
apiVersion = "1.8"
84+
languageVersion = "1.8"
8785
progressiveMode = true
88-
optIn("kotlinx.coroutines.ExperimentalCoroutinesApi")
8986
}
9087
}
9188

@@ -106,9 +103,8 @@ kotlin {
106103
val iosMain by getting
107104
val iosSimulatorArm64Main by getting
108105
iosSimulatorArm64Main.dependsOn(iosMain)
109-
110106
val iosTest by sourceSets.getting
111-
val iosSimulatorArm64Test by sourceSets.getting
107+
val iosSimulatorArm64Test by getting
112108
iosSimulatorArm64Test.dependsOn(iosTest)
113109
}
114110

@@ -132,5 +128,5 @@ signing {
132128
val signingKey: String? by project
133129
val signingPassword: String? by project
134130
useInMemoryPgpKeys(signingKey, signingPassword)
135-
sign(publishing.publications)
131+
// sign(publishing.publications)
136132
}

0 commit comments

Comments
 (0)