Skip to content

Commit 6d5aabf

Browse files
committed
adjust publish configuration
1 parent 879b609 commit 6d5aabf

File tree

3 files changed

+65
-47
lines changed

3 files changed

+65
-47
lines changed

.github/workflows/publish.yml

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,17 @@ name: Publish
66
on:
77
release:
88
types: [ prereleased, released ]
9+
workflow_dispatch:
910

1011
env:
11-
sonatypeUsername: ${{ secrets.SONATYPEUSERNAME }}
12-
sonatypePassword: ${{ secrets.SONATYPEPASSWORD }}
13-
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.GPG_PRIVATE_KEY }}
14-
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.PASSPHRASE }}
12+
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
13+
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
14+
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_IN_MEMORY }}
15+
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_PASSWORD }}
1516

1617
jobs:
1718
build:
18-
runs-on: macos-latest
19+
runs-on: macos-15
1920
steps:
2021
- uses: actions/checkout@v4
2122
- name: Set up JDK
@@ -24,38 +25,40 @@ jobs:
2425
distribution: 'zulu'
2526
java-version: '17'
2627
- uses: gradle/actions/setup-gradle@v4
28+
- name: Xcode
29+
run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
2730
- name: Setup versions
2831
run: ./gradlew :updateVersions
2932
- name: Grant execute permission for gradlew
3033
run: chmod +x gradlew
3134
- name: Publish Firebase Analytics
32-
run: ./gradlew :firebase-analytics:publish
35+
run: ./gradlew :firebase-analytics:publishToMavenCentral
3336
- name: Publish Firebase App
34-
run: ./gradlew :firebase-app:publish
37+
run: ./gradlew :firebase-app:publishToMavenCentral
3538
- name: Publish Firebase Auth
36-
run: ./gradlew :firebase-auth:publish
39+
run: ./gradlew :firebase-auth:publishToMavenCentral
3740
- name: Publish Firebase Common
38-
run: ./gradlew :firebase-common:publish
41+
run: ./gradlew :firebase-common:publishToMavenCentral
3942
- name: Publish Firebase Common Internal
40-
run: ./gradlew :firebase-common-internal:publish
43+
run: ./gradlew :firebase-common-internal:publishToMavenCentral
4144
- name: Publish Firebase Config
42-
run: ./gradlew :firebase-config:publish
45+
run: ./gradlew :firebase-config:publishToMavenCentral
4346
- name: Publish Firebase Database
44-
run: ./gradlew :firebase-database:publish
47+
run: ./gradlew :firebase-database:publishToMavenCentral
4548
- name: Publish Firebase Firestore
46-
run: ./gradlew :firebase-firestore:publish
49+
run: ./gradlew :firebase-firestore:publishToMavenCentral
4750
- name: Publish Firebase Functions
48-
run: ./gradlew :firebase-functions:publish
51+
run: ./gradlew :firebase-functions:publishToMavenCentral
4952
- name: Publish Firebase Messaging
50-
run: ./gradlew :firebase-messaging:publish
53+
run: ./gradlew :firebase-messaging:publishToMavenCentral
5154
- name: Publish Firebase Storage
52-
run: ./gradlew :firebase-storage:publish
55+
run: ./gradlew :firebase-storage:publishToMavenCentral
5356
- name: Publish Firebase Installations
54-
run: ./gradlew :firebase-installations:publish
57+
run: ./gradlew :firebase-installations:publishToMavenCentral
5558
- name: Publish Firebase Performance
56-
run: ./gradlew :firebase-perf:publish
59+
run: ./gradlew :firebase-perf:publishToMavenCentral
5760
- name: Publish Firebase Crashlytics
58-
run: ./gradlew :firebase-crashlytics:publish
61+
run: ./gradlew :firebase-crashlytics:publishToMavenCentral
5962
documentation:
6063
runs-on: macos-13
6164
steps:

README.md

Lines changed: 29 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<h1 align="left">Firebase Kotlin SDK <img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/gitliveapp/firebase-kotlin-sdk?style=flat-square"> <a href="https://git.live"><img src="https://img.shields.io/endpoint?style=flatsquare&url=https%3A%2F%2Fteamhub-dev.web.app%2Fbadge%3Forg%3DGitLiveApp%26repo%3Dfirebase-kotlin-sdk"></a></h1>
22
<img align="left" width="75px" src="https://avatars2.githubusercontent.com/u/42865805?s=200&v=4">
3-
<b>Built and maintained with 🧡 by <a href="https://git.live">GitLive</a></b><br/>
3+
<b>Built and <s>maintained</s> with 🧡 by <a href="https://git.live">GitLive</a></b><br/>
44
<i>Development teams merge faster with GitLive</i><br/>
55
<br/>
66
<br/>
@@ -10,23 +10,38 @@ but also supports multiplatform projects, enabling you to use Firebase directly
1010
<strong>iOS</strong>, <strong>Android</strong>, <strong>Desktop</strong> or <strong>Web</strong>, enabling the use of
1111
Firebase as a backend for <a href="https://www.jetbrains.com/lp/compose-multiplatform/">Compose Multiplatform</a>, for example.
1212

13+
## Fork
14+
15+
This is a (temporary?) fork with the following merged upstream pull requests, updated dependencies and configuration:
16+
17+
### Pull Requests
18+
19+
- https://github.com/GitLiveApp/firebase-kotlin-sdk/pull/738
20+
- https://github.com/GitLiveApp/firebase-kotlin-sdk/pull/698
21+
22+
### Firebase SDK
23+
24+
- **Android:** 34.0.0
25+
- **iOS:** 12.1.0
26+
- **Javascript:** 12.0.0
27+
1328
## Available libraries
1429

1530
The following libraries are available for the various Firebase products.
1631

17-
| Service or Product | Gradle Dependency | API Coverage |
18-
|---------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
19-
| [Analytics](https://firebase.google.com/docs/analytics) | [`dev.gitlive:firebase-analytics:2.1.0`](https://search.maven.org/artifact/dev.gitlive/firebase-analytics/2.1.0/pom) | [![80%](https://img.shields.io/badge/-80%25-green?style=flat-square)](/firebase-auth/src/commonMain/kotlin/dev/gitlive/firebase/auth/auth.kt) |
20-
| [Authentication](https://firebase.google.com/docs/auth) | [`dev.gitlive:firebase-auth:2.1.0`](https://search.maven.org/artifact/dev.gitlive/firebase-auth/2.1.0/pom) | [![80%](https://img.shields.io/badge/-80%25-green?style=flat-square)](/firebase-auth/src/commonMain/kotlin/dev/gitlive/firebase/auth/auth.kt) |
21-
| [Realtime Database](https://firebase.google.com/docs/database) | [`dev.gitlive:firebase-database:2.1.0`](https://search.maven.org/artifact/dev.gitlive/firebase-database/2.1.0/pom) | [![70%](https://img.shields.io/badge/-70%25-orange?style=flat-square)](/firebase-database/src/commonMain/kotlin/dev/gitlive/firebase/database/database.kt) |
22-
| [Cloud Firestore](https://firebase.google.com/docs/firestore) | [`dev.gitlive:firebase-firestore:2.1.0`](https://search.maven.org/artifact/dev.gitlive/firebase-firestore/2.1.0/pom) | [![60%](https://img.shields.io/badge/-60%25-orange?style=flat-square)](/firebase-firestore/src/commonMain/kotlin/dev/gitlive/firebase/firestore/firestore.kt) |
23-
| [Cloud Functions](https://firebase.google.com/docs/functions) | [`dev.gitlive:firebase-functions:2.1.0`](https://search.maven.org/artifact/dev.gitlive/firebase-functions/2.1.0/pom) | [![80%](https://img.shields.io/badge/-80%25-green?style=flat-square)](/firebase-functions/src/commonMain/kotlin/dev/gitlive/firebase/functions/functions.kt) |
24-
| [Cloud Messaging](https://firebase.google.com/docs/cloud-messaging) | [`dev.gitlive:firebase-messaging:2.1.0`](https://search.maven.org/artifact/dev.gitlive/firebase-messaging/2.1.0/pom) | [![1%](https://img.shields.io/badge/-10%25-orange?style=flat-square)](/firebase-messaging/src/commonMain/kotlin/dev/gitlive/firebase/messaging/messaging.kt) |
25-
| [Cloud Storage](https://firebase.google.com/docs/storage) | [`dev.gitlive:firebase-storage:2.1.0`](https://search.maven.org/artifact/dev.gitlive/firebase-storage/2.1.0/pom) | [![40%](https://img.shields.io/badge/-40%25-orange?style=flat-square)](/firebase-storage/src/commonMain/kotlin/dev/gitlive/firebase/storage/storage.kt) |
26-
| [Installations](https://firebase.google.com/docs/projects/manage-installations) | [`dev.gitlive:firebase-installations:2.1.0`](https://search.maven.org/artifact/dev.gitlive/firebase-installations/2.1.0/pom) | [![90%](https://img.shields.io/badge/-90%25-green?style=flat-square)](/firebase-installations/src/commonMain/kotlin/dev/gitlive/firebase/installations/installations.kt) |
27-
| [Remote Config](https://firebase.google.com/docs/remote-config) | [`dev.gitlive:firebase-config:2.1.0`](https://search.maven.org/artifact/dev.gitlive/firebase-config/2.1.0/pom) | [![20%](https://img.shields.io/badge/-20%25-orange?style=flat-square)](/firebase-config/src/commonMain/kotlin/dev/gitlive/firebase/remoteconfig/FirebaseRemoteConfig.kt) |
28-
| [Performance](https://firebase.google.com/docs/perf-mon) | [`dev.gitlive:firebase-perf:2.1.0`](https://search.maven.org/artifact/dev.gitlive/firebase-perf/2.1.0/pom) | [![1%](https://img.shields.io/badge/-10%25-orange?style=flat-square)](/firebase-perf/src/commonMain/kotlin/dev/gitlive/firebase/perf/performance.kt) |
29-
| [Crashlytics](https://firebase.google.com/docs/crashlytics) | [`dev.gitlive:firebase-crashlytics:2.1.0`](https://search.maven.org/artifact/dev.gitlive/firebase-crashlytics/2.1.0/pom) | [![80%](https://img.shields.io/badge/-10%25-orange?style=flat-square)](/firebase-crashlytics/src/commonMain/kotlin/dev/gitlive/firebase/crashlytics/crashlytics.kt) |
32+
| Service or Product | Gradle Dependency | API Coverage |
33+
|---------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
34+
| [Analytics](https://firebase.google.com/docs/analytics) | [`dev.datlag.firebase:firebase-analytics:2.1.0`](https://search.maven.org/artifact/dev.gitlive/firebase-analytics/2.1.0/pom) | [![80%](https://img.shields.io/badge/-80%25-green?style=flat-square)](/firebase-auth/src/commonMain/kotlin/dev/gitlive/firebase/auth/auth.kt) |
35+
| [Authentication](https://firebase.google.com/docs/auth) | [`dev.datlag.firebase:firebase-auth:2.1.0`](https://search.maven.org/artifact/dev.gitlive/firebase-auth/2.1.0/pom) | [![80%](https://img.shields.io/badge/-80%25-green?style=flat-square)](/firebase-auth/src/commonMain/kotlin/dev/gitlive/firebase/auth/auth.kt) |
36+
| [Realtime Database](https://firebase.google.com/docs/database) | [`dev.datlag.firebase:firebase-database:2.1.0`](https://search.maven.org/artifact/dev.gitlive/firebase-database/2.1.0/pom) | [![70%](https://img.shields.io/badge/-70%25-orange?style=flat-square)](/firebase-database/src/commonMain/kotlin/dev/gitlive/firebase/database/database.kt) |
37+
| [Cloud Firestore](https://firebase.google.com/docs/firestore) | [`dev.datlag.firebase:firebase-firestore:2.1.0`](https://search.maven.org/artifact/dev.gitlive/firebase-firestore/2.1.0/pom) | [![60%](https://img.shields.io/badge/-60%25-orange?style=flat-square)](/firebase-firestore/src/commonMain/kotlin/dev/gitlive/firebase/firestore/firestore.kt) |
38+
| [Cloud Functions](https://firebase.google.com/docs/functions) | [`dev.datlag.firebase:firebase-functions:2.1.0`](https://search.maven.org/artifact/dev.gitlive/firebase-functions/2.1.0/pom) | [![80%](https://img.shields.io/badge/-80%25-green?style=flat-square)](/firebase-functions/src/commonMain/kotlin/dev/gitlive/firebase/functions/functions.kt) |
39+
| [Cloud Messaging](https://firebase.google.com/docs/cloud-messaging) | [`dev.datlag.firebase:firebase-messaging:2.1.0`](https://search.maven.org/artifact/dev.gitlive/firebase-messaging/2.1.0/pom) | [![1%](https://img.shields.io/badge/-10%25-orange?style=flat-square)](/firebase-messaging/src/commonMain/kotlin/dev/gitlive/firebase/messaging/messaging.kt) |
40+
| [Cloud Storage](https://firebase.google.com/docs/storage) | [`dev.datlag.firebase:firebase-storage:2.1.0`](https://search.maven.org/artifact/dev.gitlive/firebase-storage/2.1.0/pom) | [![40%](https://img.shields.io/badge/-40%25-orange?style=flat-square)](/firebase-storage/src/commonMain/kotlin/dev/gitlive/firebase/storage/storage.kt) |
41+
| [Installations](https://firebase.google.com/docs/projects/manage-installations) | [`dev.datlag.firebase:firebase-installations:2.1.0`](https://search.maven.org/artifact/dev.gitlive/firebase-installations/2.1.0/pom) | [![90%](https://img.shields.io/badge/-90%25-green?style=flat-square)](/firebase-installations/src/commonMain/kotlin/dev/gitlive/firebase/installations/installations.kt) |
42+
| [Remote Config](https://firebase.google.com/docs/remote-config) | [`dev.datlag.firebase:firebase-config:2.1.0`](https://search.maven.org/artifact/dev.gitlive/firebase-config/2.1.0/pom) | [![20%](https://img.shields.io/badge/-20%25-orange?style=flat-square)](/firebase-config/src/commonMain/kotlin/dev/gitlive/firebase/remoteconfig/FirebaseRemoteConfig.kt) |
43+
| [Performance](https://firebase.google.com/docs/perf-mon) | [`dev.datlag.firebase:firebase-perf:2.1.0`](https://search.maven.org/artifact/dev.gitlive/firebase-perf/2.1.0/pom) | [![1%](https://img.shields.io/badge/-10%25-orange?style=flat-square)](/firebase-perf/src/commonMain/kotlin/dev/gitlive/firebase/perf/performance.kt) |
44+
| [Crashlytics](https://firebase.google.com/docs/crashlytics) | [`dev.datlag.firebase:firebase-crashlytics:2.1.0`](https://search.maven.org/artifact/dev.gitlive/firebase-crashlytics/2.1.0/pom) | [![80%](https://img.shields.io/badge/-10%25-orange?style=flat-square)](/firebase-crashlytics/src/commonMain/kotlin/dev/gitlive/firebase/crashlytics/crashlytics.kt) |
3045

3146
Is the Firebase library or API you need missing? [Create an issue](https://github.com/GitLiveApp/firebase-kotlin-sdk/issues/new?labels=API+coverage&template=increase-api-coverage.md&title=Add+%5Bclass+name%5D.%5Bfunction+name%5D+to+%5Blibrary+name%5D+for+%5Bplatform+names%5D) to request additional API coverage or be awesome and [submit a PR](https://github.com/GitLiveApp/firebase-kotlin-sdk/fork)
3247

gradle.properties

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -71,17 +71,17 @@ firebase-perf.skipJsTests=false
7171
firebase-storage.skipJsTests=false
7272

7373
# Versions:
74-
firebase-analytics.version=2.1.0
75-
firebase-app.version=2.1.0
76-
firebase-auth.version=2.1.0
77-
firebase-common-internal.version=2.1.0
78-
firebase-common.version=2.1.0
79-
firebase-config.version=2.1.0
80-
firebase-crashlytics.version=2.1.0
81-
firebase-database.version=2.1.0
82-
firebase-firestore.version=2.1.0
83-
firebase-functions.version=2.1.0
84-
firebase-installations.version=2.1.0
85-
firebase-messaging.version=2.1.0
86-
firebase-perf.version=2.1.0
87-
firebase-storage.version=2.1.0
74+
firebase-analytics.version=2.1.0-SNAPSHOT
75+
firebase-app.version=2.1.0-SNAPSHOT
76+
firebase-auth.version=2.1.0-SNAPSHOT
77+
firebase-common-internal.version=2.1.0-SNAPSHOT
78+
firebase-common.version=2.1.0-SNAPSHOT
79+
firebase-config.version=2.1.0-SNAPSHOT
80+
firebase-crashlytics.version=2.1.0-SNAPSHOT
81+
firebase-database.version=2.1.0-SNAPSHOT
82+
firebase-firestore.version=2.1.0-SNAPSHOT
83+
firebase-functions.version=2.1.0-SNAPSHOT
84+
firebase-installations.version=2.1.0-SNAPSHOT
85+
firebase-messaging.version=2.1.0-SNAPSHOT
86+
firebase-perf.version=2.1.0-SNAPSHOT
87+
firebase-storage.version=2.1.0-SNAPSHOT

0 commit comments

Comments
 (0)