Skip to content

Commit 3c570f8

Browse files
committed
Rename packages
1 parent 3ba32e6 commit 3c570f8

File tree

43 files changed

+107
-113
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+107
-113
lines changed

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ val minSdkVersion by extra(14)
1717

1818
subprojects {
1919

20-
group = "dev.teamhub.firebase"
20+
group = "dev.gitlive.firebase"
2121

2222
repositories {
2323
mavenLocal()
@@ -44,7 +44,7 @@ subprojects {
4444
"androidMainImplementation"("org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.3.4")
4545
"jvmMainImplementation"(kotlin("stdlib-jdk8"))
4646
"jvmMainImplementation"("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.4")
47-
"jvmMainApi"("app.teamhub:firebase-java:0.3.1")
47+
"jvmMainApi"("dev.gitlive:firebase-java:0.3.1")
4848
"jvmMainApi"("org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.3.4")
4949
"iosMainImplementation"("org.jetbrains.kotlinx:kotlinx-coroutines-core-common:1.3.4")
5050
"iosMainImplementation"("org.jetbrains.kotlinx:kotlinx-coroutines-core-native:1.3.4")

firebase-app/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ tasks {
108108
into.createNewFile()
109109
into.writeText(from.readText()
110110
.replace("require('firebase-", "require('@teamhubapp/firebase-")
111-
// .replace("require('kotlinx-serialization-kotlinx-serialization-runtime')", "require('@teamhub/kotlinx-serialization-runtime')")
111+
// .replace("require('kotlinx-serialization-kotlinx-serialization-runtime')", "require('@gitlive/kotlinx-serialization-runtime')")
112112
)
113113
}
114114
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<manifest package="dev.teamhub.firebase"/>
1+
<manifest package="dev.gitlive.firebase"/>

firebase-app/src/androidMain/kotlin/dev/teamhub/firebase/firebase.kt renamed to firebase-app/src/androidMain/kotlin/dev/gitlive/firebase/firebase.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Copyright (c) 2020 GitLive Ltd. Use of this source code is governed by the Apache 2.0 license.
33
*/
44

5-
package dev.teamhub.firebase
5+
package dev.gitlive.firebase
66

77
import android.content.Context
88

firebase-app/src/commonMain/kotlin/dev/teamhub/firebase/firebase.kt renamed to firebase-app/src/commonMain/kotlin/dev/gitlive/firebase/firebase.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
@file:JvmMultifileClass
66
@file:JvmName("CommonKt")
7-
package dev.teamhub.firebase
7+
package dev.gitlive.firebase
88

99
import kotlin.jvm.JvmMultifileClass
1010
import kotlin.jvm.JvmName

firebase-app/src/iosMain/kotlin/dev/teamhub/firebase/firebase.kt renamed to firebase-app/src/iosMain/kotlin/dev/gitlive/firebase/firebase.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Copyright (c) 2020 GitLive Ltd. Use of this source code is governed by the Apache 2.0 license.
33
*/
44

5-
package dev.teamhub.firebase
5+
package dev.gitlive.firebase
66

77
import cocoapods.FirebaseCore.*
88

firebase-app/src/jsMain/kotlin/dev/teamhub/firebase/firebase.kt renamed to firebase-app/src/jsMain/kotlin/dev/gitlive/firebase/firebase.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Copyright (c) 2020 GitLive Ltd. Use of this source code is governed by the Apache 2.0 license.
33
*/
44

5-
package dev.teamhub.firebase
5+
package dev.gitlive.firebase
66

77
import kotlin.js.json
88

firebase-auth/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ tasks {
9999
into.createNewFile()
100100
into.writeText(from.readText()
101101
.replace("require('firebase-", "require('@teamhubapp/firebase-")
102-
// .replace("require('kotlinx-serialization-kotlinx-serialization-runtime')", "require('@teamhub/kotlinx-serialization-runtime')")
102+
// .replace("require('kotlinx-serialization-kotlinx-serialization-runtime')", "require('@gitlive/kotlinx-serialization-runtime')")
103103
)
104104
}
105105
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<manifest package="dev.teamhub.firebase.auth"/>
1+
<manifest package="dev.gitlive.firebase.auth"/>

firebase-auth/src/androidMain/kotlin/dev/teamhub/firebase/auth/auth.kt renamed to firebase-auth/src/androidMain/kotlin/dev/gitlive/firebase/auth/auth.kt

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

5-
package dev.teamhub.firebase.auth
5+
package dev.gitlive.firebase.auth
66

77
import com.google.firebase.auth.FirebaseAuth.AuthStateListener
8-
import dev.teamhub.firebase.Firebase
9-
import dev.teamhub.firebase.FirebaseApp
8+
import dev.gitlive.firebase.Firebase
9+
import dev.gitlive.firebase.FirebaseApp
1010
import kotlinx.coroutines.channels.awaitClose
1111
import kotlinx.coroutines.flow.callbackFlow
12-
import kotlinx.coroutines.tasks.await
1312

1413
actual val Firebase.auth
1514
get() = FirebaseAuth(com.google.firebase.auth.FirebaseAuth.getInstance())

0 commit comments

Comments
 (0)