Skip to content

Commit b330d8b

Browse files
committed
set all versions to 0.1.0
update to latest firebase-js-sdk fix npm publish
1 parent d4dcfae commit b330d8b

File tree

13 files changed

+59
-56
lines changed

13 files changed

+59
-56
lines changed

build.gradle.kts

Lines changed: 35 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import de.undercouch.gradle.tasks.download.Download
2+
import org.apache.tools.ant.taskdefs.condition.Os
23

34
plugins {
45
kotlin("multiplatform") version "1.3.70" apply false
@@ -38,12 +39,11 @@ tasks {
3839
into("$buildDir")
3940
outputs.upToDateWhen { File("$rootDir/$buildDir/Firebase").isDirectory }
4041
}
41-
42+
4243
}
4344

4445
subprojects {
4546

46-
4747
group = "dev.gitlive"
4848

4949
repositories {
@@ -92,10 +92,13 @@ subprojects {
9292
copySourceMap,
9393
copyReadMe
9494
)
95-
95+
9696
workingDir("$buildDir/node_module")
97-
//commandLine("npm", "publish")
98-
commandLine("ls")
97+
if(Os.isFamily(Os.FAMILY_WINDOWS)) {
98+
commandLine("cmd", "/c", "npm publish")
99+
} else {
100+
commandLine("npm", "publish")
101+
}
99102
}
100103
}
101104

@@ -130,10 +133,10 @@ subprojects {
130133

131134
apply(plugin="maven-publish")
132135
apply(plugin="signing")
133-
136+
134137

135138
configure<PublishingExtension> {
136-
139+
137140
repositories {
138141
maven {
139142
url = uri("https://oss.sonatype.org/service/local/staging/deploy/maven2")
@@ -143,47 +146,46 @@ subprojects {
143146
}
144147
}
145148
}
146-
149+
147150
publications.all {
148151
this as MavenPublication
149-
152+
150153
pom {
151154
name.set("firebase-kotlin-sdk")
152155
description.set("The Firebase Kotlin SDK is a Kotlin-first SDK for Firebase. It's API is similar to the Firebase Android SDK Kotlin Extensions but also supports multiplatform projects, enabling you to use Firebase directly from your common source targeting iOS, Android or JS.")
153156
url.set("https://github.com/GitLiveApp/firebase-kotlin-sdk")
154157
inceptionYear.set("2019")
155158

156-
scm {
157-
url.set("https://github.com/GitLiveApp/firebase-kotlin-sdk")
158-
connection.set("scm:git:https://github.com/GitLiveApp/firebase-kotlin-sdk.git")
159-
developerConnection.set("scm:git:https://github.com/GitLiveApp/firebase-kotlin-sdk.git")
160-
tag.set("HEAD")
161-
}
159+
scm {
160+
url.set("https://github.com/GitLiveApp/firebase-kotlin-sdk")
161+
connection.set("scm:git:https://github.com/GitLiveApp/firebase-kotlin-sdk.git")
162+
developerConnection.set("scm:git:https://github.com/GitLiveApp/firebase-kotlin-sdk.git")
163+
tag.set("HEAD")
164+
}
162165

163-
issueManagement {
164-
system.set("GitHub Issues")
165-
url.set("https://github.com/GitLiveApp/firebase-kotlin-sdk/issues")
166-
}
166+
issueManagement {
167+
system.set("GitHub Issues")
168+
url.set("https://github.com/GitLiveApp/firebase-kotlin-sdk/issues")
169+
}
167170

168-
developers {
169-
developer {
170-
name.set("Nicholas Bransby-Williams")
171-
email.set("nbransby@gmail.com")
172-
}
171+
developers {
172+
developer {
173+
name.set("Nicholas Bransby-Williams")
174+
email.set("nbransby@gmail.com")
173175
}
176+
}
174177

175-
licenses {
176-
license {
177-
name.set("The Apache Software License, Version 2.0")
178-
url.set("http://www.apache.org/licenses/LICENSE-2.0.txt")
179-
distribution.set("repo")
180-
comments.set("A business-friendly OSS license")
181-
}
178+
licenses {
179+
license {
180+
name.set("The Apache Software License, Version 2.0")
181+
url.set("http://www.apache.org/licenses/LICENSE-2.0.txt")
182+
distribution.set("repo")
183+
comments.set("A business-friendly OSS license")
182184
}
183-
184185
}
186+
185187
}
186-
188+
}
187189

188190
}
189191

firebase-app/build.gradle.kts

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

66

77
plugins {

firebase-app/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gitlive/firebase-app",
3-
"version": "0.1.0-beta4",
3+
"version": "0.1.0",
44
"description": "Wrapper around firebase for usage in Kotlin Multiplatform projects",
55
"main": "firebase-app.js",
66
"scripts": {
@@ -23,8 +23,8 @@
2323
},
2424
"homepage": "https://github.com/GitLiveApp/firebase-kotlin-sdk",
2525
"dependencies": {
26-
"@gitlive/firebase-common": "0.1.0-beta4",
27-
"firebase": "6.2.3",
26+
"@gitlive/firebase-common": "0.1.0",
27+
"firebase": "7.14.0",
2828
"kotlin": "1.3.70",
2929
"kotlinx-coroutines-core": "1.3.4"
3030
}

firebase-auth/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version = "0.1.0-beta"
1+
version = "0.1.0"
22

33
plugins {
44
id("com.android.library")

firebase-auth/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gitlive/firebase-auth",
3-
"version": "0.1.0-beta4",
3+
"version": "0.1.0",
44
"description": "Wrapper around firebase for usage in Kotlin Multiplatform projects",
55
"main": "firebase-auth.js",
66
"scripts": {
@@ -23,8 +23,8 @@
2323
},
2424
"homepage": "https://github.com/GitLiveApp/firebase-kotlin-sdk",
2525
"dependencies": {
26-
"@gitlive/firebase-app": "0.1.0-beta4",
27-
"firebase": "6.2.3",
26+
"@gitlive/firebase-app": "0.1.0",
27+
"firebase": "7.14.0",
2828
"kotlin": "1.3.70",
2929
"kotlinx-coroutines-core": "1.3.4"
3030
}

firebase-common/build.gradle.kts

Lines changed: 2 additions & 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-
version = "0.1.0-beta"
5+
version = "0.1.0"
66

77
plugins {
88
id("com.android.library")
@@ -83,6 +83,7 @@ kotlin {
8383
}
8484
}
8585
}
86+
8687
signing {
8788
sign(publishing.publications)
8889
}

firebase-common/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gitlive/firebase-common",
3-
"version": "0.1.0-beta6",
3+
"version": "0.1.0",
44
"description": "Wrapper around firebase for usage in Kotlin Multiplatform projects",
55
"main": "firebase-common.js",
66
"scripts": {
@@ -23,7 +23,7 @@
2323
},
2424
"homepage": "https://github.com/GitLiveApp/firebase-kotlin-multiplatform-sdk",
2525
"dependencies": {
26-
"firebase": "6.2.3",
26+
"firebase": "7.14.0",
2727
"kotlin": "1.3.70",
2828
"kotlinx-coroutines-core": "1.3.4",
2929
"kotlinx-serialization-kotlinx-serialization-runtime": "0.20.0"

firebase-database/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version = "0.1.0-beta"
1+
version = "0.1.0"
22

33
plugins {
44
id("com.android.library")

firebase-database/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gitlive/firebase-database",
3-
"version": "0.1.0-beta4",
3+
"version": "0.1.0",
44
"description": "Wrapper around firebase for usage in Kotlin Multiplatform projects",
55
"main": "firebase-database.js",
66
"scripts": {
@@ -23,8 +23,8 @@
2323
},
2424
"homepage": "https://github.com/GitLiveApp/firebase-kotlin-sdk",
2525
"dependencies": {
26-
"@gitlive/firebase-app": "0.1.0-beta4",
27-
"firebase": "6.2.3",
26+
"@gitlive/firebase-app": "0.1.0",
27+
"firebase": "7.14.0",
2828
"kotlin": "1.3.70",
2929
"kotlinx-coroutines-core": "1.3.4"
3030
}

firebase-firestore/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version = "0.1.0-beta"
1+
version = "0.1.0"
22

33
plugins {
44
id("com.android.library")

firebase-firestore/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gitlive/firebase-firestore",
3-
"version": "0.1.0-beta4",
3+
"version": "0.1.0",
44
"description": "Wrapper around firebase for usage in Kotlin Multiplatform projects",
55
"main": "firebase-firestore.js",
66
"scripts": {
@@ -23,8 +23,8 @@
2323
},
2424
"homepage": "https://github.com/GitLiveApp/firebase-kotlin-sdk",
2525
"dependencies": {
26-
"@gitlive/firebase-app": "0.1.0-beta4",
27-
"firebase": "6.2.3",
26+
"@gitlive/firebase-app": "0.1.0",
27+
"firebase": "7.14.0",
2828
"kotlin": "1.3.70",
2929
"kotlinx-coroutines-core": "1.3.4"
3030
}

firebase-functions/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version = "0.1.0-beta"
1+
version = "0.1.0"
22

33
plugins {
44
id("com.android.library")

firebase-functions/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gitlive/firebase-functions",
3-
"version": "0.1.0-beta4",
3+
"version": "0.1.0",
44
"description": "Wrapper around firebase for usage in Kotlin Multiplatform projects",
55
"main": "firebase-functions.js",
66
"scripts": {
@@ -23,8 +23,8 @@
2323
},
2424
"homepage": "https://github.com/GitLiveApp/firebase-kotlin-sdk",
2525
"dependencies": {
26-
"@gitlive/firebase-app": "0.1.0-beta4",
27-
"firebase": "6.2.3",
26+
"@gitlive/firebase-app": "0.1.0",
27+
"firebase": "7.14.0",
2828
"kotlin": "1.3.70",
2929
"kotlinx-coroutines-core": "1.3.4"
3030
}

0 commit comments

Comments
 (0)