@eohjsc/react-native-smart-city 0.6.2-rc5 → 0.6.2-rc6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -104,6 +104,20 @@ def configureReactNativePom(def pom) {
104
104
  }
105
105
  }
106
106
 
107
+ publishing {
108
+ publications {
109
+ mavenJava(MavenPublication) {
110
+ from components.java
111
+ configureReactNativePom(pom)
112
+ }
113
+ }
114
+ repositories {
115
+ maven {
116
+ url = uri("file://${projectDir}/../android/maven")
117
+ }
118
+ }
119
+ }
120
+
107
121
  afterEvaluate { project ->
108
122
  // some Gradle build hooks ref:
109
123
  // https://www.oreilly.com/library/view/gradle-beyond-the/9781449373801/ch03.html
@@ -138,13 +152,4 @@ afterEvaluate { project ->
138
152
  archives androidSourcesJar
139
153
  archives androidJavadocJar
140
154
  }
141
-
142
- task installArchives(type: Upload) {
143
- configuration = configurations.archives
144
- repositories.mavenDeployer {
145
- // Deploy to react-native-event-bridge/maven, ready to publish to npm
146
- repository url: "file://${projectDir}/../android/maven"
147
- configureReactNativePom pom
148
- }
149
- }
150
155
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@eohjsc/react-native-smart-city",
3
3
  "title": "React Native Smart Home",
4
- "version": "0.6.2-rc5",
4
+ "version": "0.6.2-rc6",
5
5
  "description": "TODO",
6
6
  "main": "index.js",
7
7
  "files": [